1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 isPy3k,
6 pytestCheckHook,
7}:
8
9buildPythonPackage {
10 pname = "baseline";
11 version = "1.2.1";
12 format = "setuptools";
13 disabled = !isPy3k;
14
15 src = fetchFromGitHub {
16 owner = "dmgass";
17 repo = "baseline";
18 rev = "95a0b71806ed16310eb0f27bc48aa5e21f731423";
19 sha256 = "0qjg46ipyfjflvjqzqr5p7iylwwqn2mhhrq952d01vi8wvfds10d";
20 };
21
22 nativeCheckInputs = [ pytestCheckHook ];
23
24 meta = with lib; {
25 description = "Easy String Baseline";
26 mainProgram = "baseline";
27 longDescription = ''
28 This tool streamlines creation and maintenance of tests which compare
29 string output against a baseline.
30 '';
31 homepage = "https://github.com/dmgass/baseline";
32 license = licenses.mit;
33 maintainers = with maintainers; [ dnr ];
34 };
35}