33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
33 lines
730 B
Nix
33 lines
730 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "pur";
|
|
version = "7.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alanhamlett";
|
|
repo = "pip-update-requirements";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-JAjz9A9r1H6MJX7MSq7UvQKfULhB9UuPP3tI6Cggx9I=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
python3.pkgs.click
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
python3.pkgs.pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "pur" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for update and track the requirements";
|
|
homepage = "https://github.com/alanhamlett/pip-update-requirements";
|
|
license = with licenses; [ bsd2 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|