pur: refactor
This commit is contained in:
parent
3a1beb9cb5
commit
0f626e57ca
1 changed files with 9 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "pur";
|
pname = "pur";
|
||||||
version = "7.3.1";
|
version = "7.3.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "alanhamlett";
|
owner = "alanhamlett";
|
||||||
|
@ -14,19 +15,22 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
hash = "sha256-W6otdj1C3Nn3DUvwp9MPqMo2y4ITqgYrqlW/uxIj2YA=";
|
hash = "sha256-W6otdj1C3Nn3DUvwp9MPqMo2y4ITqgYrqlW/uxIj2YA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
python3.pkgs.click
|
click
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
python3.pkgs.pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pur" ];
|
pythonImportsCheck = [
|
||||||
|
"pur"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for update and track the requirements";
|
description = "Python library for update and track the requirements";
|
||||||
homepage = "https://github.com/alanhamlett/pip-update-requirements";
|
homepage = "https://github.com/alanhamlett/pip-update-requirements";
|
||||||
|
changelog = "https://github.com/alanhamlett/pip-update-requirements/blob/${version}/HISTORY.rst";
|
||||||
license = with licenses; [ bsd2 ];
|
license = with licenses; [ bsd2 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue