1{ lib
2, buildPythonPackage
3, click
4, fetchFromGitHub
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "pur";
10 version = "5.4.0";
11
12 src = fetchFromGitHub {
13 owner = "alanhamlett";
14 repo = "pip-update-requirements";
15 rev = version;
16 sha256 = "1p2g0kz9l0rb59b3rkclb6wwidc93kwqh2hm4xc22b1w9r946six";
17 };
18
19 propagatedBuildInputs = [
20 click
21 ];
22
23 checkInputs = [
24 pytestCheckHook
25 ];
26
27 pythonImportsCheck = [ "pur" ];
28
29 meta = with lib; {
30 description = "Python library for update and track the requirements";
31 homepage = "https://github.com/alanhamlett/pip-update-requirements";
32 license = with licenses; [ bsd2 ];
33 maintainers = with maintainers; [ fab ];
34 };
35}