summary refs log tree commit diff
path: root/pkgs/development/python-modules/baseline
diff options
context:
space:
mode:
authorDavid Reiss <dnr@dnr.im>2021-03-22 19:27:15 -0700
committerDavid Reiss <dnr@dnr.im>2021-03-22 19:34:56 -0700
commitc58549c140da809c049b541706229731692949ea (patch)
tree3aef79025d6bc2c6ace703f68f5e761f5e47f03b /pkgs/development/python-modules/baseline
parent8a21ce752f16856581fe8fd824b10e4957280b13 (diff)
downloadnixpkgs-c58549c140da809c049b541706229731692949ea.tar
nixpkgs-c58549c140da809c049b541706229731692949ea.tar.gz
nixpkgs-c58549c140da809c049b541706229731692949ea.tar.bz2
nixpkgs-c58549c140da809c049b541706229731692949ea.tar.lz
nixpkgs-c58549c140da809c049b541706229731692949ea.tar.xz
nixpkgs-c58549c140da809c049b541706229731692949ea.tar.zst
nixpkgs-c58549c140da809c049b541706229731692949ea.zip
python3Packages.baseline: init at 1.2.1
Diffstat (limited to 'pkgs/development/python-modules/baseline')
-rw-r--r--pkgs/development/python-modules/baseline/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/baseline/default.nix b/pkgs/development/python-modules/baseline/default.nix
new file mode 100644
index 00000000000..0bee2295ed5
--- /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 ];
+  };
+}