about summary refs log tree commit diff
path: root/pkgs/development/python-modules/unidiff/default.nix
blob: d1e18111db3182e22e429970e862d870fa22f8a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildPythonPackage, fetchFromGitHub }:

buildPythonPackage rec {
  pname = "unidiff";
  version = "0.6.0";

  # PyPI tarball doesn't ship tests
  src = fetchFromGitHub {
    owner = "matiasb";
    repo = "python-unidiff";
    rev = "v${version}";
    sha256 = "0farwkw0nbb5h4369pq3i6pp4047hav0h88ba55rzz5k7mr25rgi";
  };

  meta = with lib; {
    description = "Unified diff python parsing/metadata extraction library";
    homepage = "https://github.com/matiasb/python-unidiff";
    license = licenses.mit;
    maintainers = [ maintainers.marsam ];
  };
}