at 23.11-beta 33 lines 730 B view raw
1{ lib 2, python3 3, fetchFromGitHub 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "pur"; 8 version = "7.0.0"; 9 10 src = fetchFromGitHub { 11 owner = "alanhamlett"; 12 repo = "pip-update-requirements"; 13 rev = "refs/tags/${version}"; 14 hash = "sha256-JAjz9A9r1H6MJX7MSq7UvQKfULhB9UuPP3tI6Cggx9I="; 15 }; 16 17 propagatedBuildInputs = [ 18 python3.pkgs.click 19 ]; 20 21 nativeCheckInputs = [ 22 python3.pkgs.pytestCheckHook 23 ]; 24 25 pythonImportsCheck = [ "pur" ]; 26 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 }; 33}