about summary refs log tree commit diff
path: root/pkgs/development/python-modules/baseline/default.nix
blob: d64fbd26f6f3425d13336d522cf88f2d326db3c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pytestCheckHook }:

buildPythonPackage rec {
  pname = "baseline";
  version = "1.2.1";
  format = "setuptools";
  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "dmgass";
    repo = "baseline";
    rev = "95a0b71806ed16310eb0f27bc48aa5e21f731423";
    sha256 = "0qjg46ipyfjflvjqzqr5p7iylwwqn2mhhrq952d01vi8wvfds10d";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Easy String Baseline";
    mainProgram = "baseline";
    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 ];
  };
}