depot/third_party/nixpkgs/pkgs/development/python-modules/resolvelib/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

38 lines
795 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
commentjson,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "resolvelib";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "sarugaku";
repo = "resolvelib";
rev = version;
hash = "sha256-oxyPn3aFPOyx/2aP7Eg2ThtPbyzrFT1JzWqy6GqNbzM=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
commentjson
pytestCheckHook
];
pythonImportsCheck = [ "resolvelib" ];
meta = with lib; {
description = "Resolve abstract dependencies into concrete ones";
homepage = "https://github.com/sarugaku/resolvelib";
changelog = "https://github.com/sarugaku/resolvelib/blob/${src.rev}/CHANGELOG.rst";
license = licenses.isc;
maintainers = [ ];
};
}