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