blob: 6c33f5f0016e688bc383105925123b27e8e1d29b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "pur";
version = "7.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "alanhamlett";
repo = "pip-update-requirements";
rev = "refs/tags/${version}";
hash = "sha256-W6otdj1C3Nn3DUvwp9MPqMo2y4ITqgYrqlW/uxIj2YA=";
};
propagatedBuildInputs = with python3.pkgs; [
click
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [
"pur"
];
meta = with lib; {
description = "Python library for update and track the requirements";
mainProgram = "pur";
homepage = "https://github.com/alanhamlett/pip-update-requirements";
changelog = "https://github.com/alanhamlett/pip-update-requirements/blob/${version}/HISTORY.rst";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ fab ];
};
}
|