Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / unidiff / default.nix
blob85ec596a891219fbcf667c1a12b6909abea65be9
1 { lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
3 buildPythonPackage rec {
4   pname = "unidiff";
5   version = "0.7.5";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574";
10   };
12   nativeCheckInputs = [ unittestCheckHook ];
14   unittestFlagsArray = [ "-s" "tests" ];
16   pythonImportsCheck = [ "unidiff" ];
18   meta = with lib; {
19     description = "Unified diff python parsing/metadata extraction library";
20     homepage = "https://github.com/matiasb/python-unidiff";
21     changelog = "https://github.com/matiasb/python-unidiff/raw/v${version}/HISTORY";
22     license = licenses.mit;
23     maintainers = [ maintainers.marsam ];
24   };