Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / pur / default.nix
blob710dc9e71413f234bfe3c1320e5aad173118e6c9
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "pur";
8   version = "7.0.0";
10   src = fetchFromGitHub {
11     owner = "alanhamlett";
12     repo = "pip-update-requirements";
13     rev = "refs/tags/${version}";
14     hash = "sha256-JAjz9A9r1H6MJX7MSq7UvQKfULhB9UuPP3tI6Cggx9I=";
15   };
17   propagatedBuildInputs = [
18     python3.pkgs.click
19   ];
21   nativeCheckInputs = [
22     python3.pkgs.pytestCheckHook
23   ];
25   pythonImportsCheck = [ "pur" ];
27   meta = with lib; {
28     description = "Python library for update and track the requirements";
29     homepage = "https://github.com/alanhamlett/pip-update-requirements";
30     license = with licenses; [ bsd2 ];
31     maintainers = with maintainers; [ fab ];
32   };