1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 commentjson,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "resolvelib";
12 version = "1.0.1";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "sarugaku";
17 repo = "resolvelib";
18 rev = version;
19 hash = "sha256-oxyPn3aFPOyx/2aP7Eg2ThtPbyzrFT1JzWqy6GqNbzM=";
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.rev}/CHANGELOG.rst";
35 license = licenses.isc;
36 maintainers = [ ];
37 };
38}