depot/third_party/nixpkgs/pkgs/development/python-modules/unidiff/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

21 lines
564 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "unidiff";
version = "0.5.5";
# PyPI tarball doesn't ship tests
src = fetchFromGitHub {
owner = "matiasb";
repo = "python-unidiff";
rev = "v${version}";
sha256 = "1nvi7s1nn5p7j6aql1nkn2kiadnfby98yla5m3jq8xwsx0aplwdm";
};
meta = with lib; {
description = "Unified diff python parsing/metadata extraction library";
homepage = "https://github.com/matiasb/python-unidiff";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}