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