2021-04-19 03:05:28 +00:00
|
|
|
{ lib
|
2021-12-06 16:07:01 +00:00
|
|
|
, python3
|
2021-04-19 03:05:28 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2022-04-27 09:35:20 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2021-04-19 03:05:28 +00:00
|
|
|
pname = "pur";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "6.1.0";
|
2021-04-19 03:05:28 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alanhamlett";
|
|
|
|
repo = "pip-update-requirements";
|
|
|
|
rev = version;
|
2022-04-27 09:35:20 +00:00
|
|
|
hash = "sha256-EcyDEXDgjicCRThXC+co/PwTjAxkRXVG1++JZtsSjZo=";
|
2021-04-19 03:05:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
python3.pkgs.click
|
2021-04-19 03:05:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
python3.pkgs.pytestCheckHook
|
2021-04-19 03:05:28 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|