2021-04-17 22:53:19 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, click
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pur";
|
2021-05-22 11:44:43 +02:00
|
|
|
version = "5.4.1";
|
2021-04-17 22:53:19 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alanhamlett";
|
|
|
|
repo = "pip-update-requirements";
|
|
|
|
rev = version;
|
2021-05-22 11:44:43 +02:00
|
|
|
sha256 = "sha256-a2wViLJW+UXgHcURxr4irFVkH8STH84AVcwQIkvH+Fg=";
|
2021-04-17 22:53:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|