depot/third_party/nixpkgs/pkgs/development/python-modules/resolvelib/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
813 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 = with maintainers; [ ];
};
}