Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 git, 6 gnupg, 7 fetchFromGitHub, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "git-revise"; 13 version = "0.7.0"; 14 format = "setuptools"; 15 16 # Missing tests on PyPI 17 src = fetchFromGitHub { 18 owner = "mystor"; 19 repo = pname; 20 rev = "v${version}"; 21 hash = "sha256-xV1Z9O5FO4Q/XEpNwnX31tbv8CrXY+wF1Ltpfq+ITRg="; 22 }; 23 24 disabled = pythonOlder "3.8"; 25 26 nativeCheckInputs = [ 27 git 28 gnupg 29 pytestCheckHook 30 ]; 31 32 meta = with lib; { 33 description = "Efficiently update, split, and rearrange git commits"; 34 homepage = "https://github.com/mystor/git-revise"; 35 changelog = "https://github.com/mystor/git-revise/blob/${version}/CHANGELOG.md"; 36 license = licenses.mit; 37 mainProgram = "git-revise"; 38 maintainers = with maintainers; [ emily ]; 39 }; 40}