diff --git a/pkgs/development/python-modules/baseline/default.nix b/pkgs/development/python-modules/baseline/default.nix new file mode 100644 index 000000000000..0bee2295ed56 --- /dev/null +++ b/pkgs/development/python-modules/baseline/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pytestCheckHook }: + +buildPythonPackage rec { + pname = "baseline"; + version = "1.2.1"; + disabled = !isPy3k; + + src = fetchFromGitHub { + owner = "dmgass"; + repo = "baseline"; + rev = "95a0b71806ed16310eb0f27bc48aa5e21f731423"; + sha256 = "0qjg46ipyfjflvjqzqr5p7iylwwqn2mhhrq952d01vi8wvfds10d"; + }; + + checkInputs = [ pytestCheckHook ]; + + meta = with lib; { + description = "Easy String 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1f3b5e682ba0..6cc22e7aecaf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -906,6 +906,8 @@ in { base58 = callPackage ../development/python-modules/base58 { }; + baseline = callPackage ../development/python-modules/baseline { }; + baselines = callPackage ../development/python-modules/baselines { }; basemap = callPackage ../development/python-modules/basemap { };