Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 21 lines 562 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 pname = "unidiff"; 5 version = "0.5.5"; 6 7 # PyPI tarball doesn't ship tests 8 src = fetchFromGitHub { 9 owner = "matiasb"; 10 repo = "python-unidiff"; 11 rev = "v${version}"; 12 sha256 = "1nvi7s1nn5p7j6aql1nkn2kiadnfby98yla5m3jq8xwsx0aplwdm"; 13 }; 14 15 meta = with lib; { 16 description = "Unified diff python parsing/metadata extraction library"; 17 homepage = https://github.com/matiasb/python-unidiff; 18 license = licenses.mit; 19 maintainers = [ maintainers.marsam ]; 20 }; 21}