2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
isPy3k,
|
|
|
|
pytestCheckHook,
|
|
|
|
}:
|
2021-04-12 18:23:04 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "baseline";
|
|
|
|
version = "1.2.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-04-12 18:23:04 +00:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dmgass";
|
|
|
|
repo = "baseline";
|
|
|
|
rev = "95a0b71806ed16310eb0f27bc48aa5e21f731423";
|
|
|
|
sha256 = "0qjg46ipyfjflvjqzqr5p7iylwwqn2mhhrq952d01vi8wvfds10d";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-04-12 18:23:04 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Easy String Baseline";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "baseline";
|
2021-04-12 18:23:04 +00:00
|
|
|
longDescription = ''
|
|
|
|
This tool streamlines creation and maintenance of tests which compare
|
|
|
|
string output against a baseline.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/dmgass/baseline";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dnr ];
|
|
|
|
};
|
|
|
|
}
|