Merge: matrix-synapse: 1.122.0 -> 1.123.0 (#378018)
[NixPkgs.git] / pkgs / development / python-modules / baseline / default.nix
blob1fadfe681b88557446f6fc74e76c7cb5932df54a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   isPy3k,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "baseline";
11   version = "1.2.1";
12   format = "setuptools";
13   disabled = !isPy3k;
15   src = fetchFromGitHub {
16     owner = "dmgass";
17     repo = "baseline";
18     rev = "95a0b71806ed16310eb0f27bc48aa5e21f731423";
19     sha256 = "0qjg46ipyfjflvjqzqr5p7iylwwqn2mhhrq952d01vi8wvfds10d";
20   };
22   nativeCheckInputs = [ pytestCheckHook ];
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   };