2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unidiff";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.7.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "2bbcbc986e1fb97f04b1d7b864aa6002ab02f4d8a996bf03aa6e5a81447d1fc5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
checkInputs = [ unittestCheckHook ];
|
|
|
|
|
|
|
|
unittestFlagsArray = [ "-s" "tests" ];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
pythonImportsCheck = [ "unidiff" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Unified diff python parsing/metadata extraction library";
|
|
|
|
homepage = "https://github.com/matiasb/python-unidiff";
|
2021-08-22 07:53:02 +00:00
|
|
|
changelog = "https://github.com/matiasb/python-unidiff/raw/v${version}/HISTORY";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|