2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, unittestCheckHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "unidiff";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "0.7.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
sha256 = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|