2018-12-25 23:00:00 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unidiff";
|
2021-08-19 20:37:58 +01:00
|
|
|
version = "0.7.0";
|
2018-12-25 23:00:00 +00:00
|
|
|
|
|
|
|
# PyPI tarball doesn't ship tests
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matiasb";
|
|
|
|
repo = "python-unidiff";
|
|
|
|
rev = "v${version}";
|
2021-08-19 20:37:58 +01:00
|
|
|
sha256 = "1s1l327jqm0r35pn9c83pbw15k66x8klw1lf45xqp8lrdc15cqv5";
|
2018-12-25 23:00:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Unified diff python parsing/metadata extraction library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/matiasb/python-unidiff";
|
2018-12-25 23:00:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|