1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 commentjson,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "resolvelib";
12 version = "1.2.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "sarugaku";
17 repo = "resolvelib";
18 tag = version;
19 hash = "sha256-8ffJ1Jlb/hzKY4pfE3B95ip2e1CxUByiR0cul/ZnxxA=";
20 };
21
22 build-system = [ setuptools ];
23
24 nativeCheckInputs = [
25 commentjson
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [ "resolvelib" ];
30
31 meta = with lib; {
32 description = "Resolve abstract dependencies into concrete ones";
33 homepage = "https://github.com/sarugaku/resolvelib";
34 changelog = "https://github.com/sarugaku/resolvelib/blob/${src.tag}/CHANGELOG.rst";
35 license = licenses.isc;
36 maintainers = [ ];
37 };
38}