evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / unidiff / default.nix
blob3f2034098dc0080819bbe63fb4ead363b1525161
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   unittestCheckHook,
6 }:
8 buildPythonPackage rec {
9   pname = "unidiff";
10   version = "0.7.5";
11   format = "setuptools";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574";
16   };
18   nativeCheckInputs = [ unittestCheckHook ];
20   unittestFlagsArray = [
21     "-s"
22     "tests"
23   ];
25   pythonImportsCheck = [ "unidiff" ];
27   meta = with lib; {
28     description = "Unified diff python parsing/metadata extraction library";
29     mainProgram = "unidiff";
30     homepage = "https://github.com/matiasb/python-unidiff";
31     changelog = "https://github.com/matiasb/python-unidiff/raw/v${version}/HISTORY";
32     license = licenses.mit;
33     maintainers = [ maintainers.pbsds ];
34   };