about summary refs log tree commit diff
path: root/pkgs/development/python-modules/btest
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-03-27 20:29:26 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-03-27 20:29:26 +0200
commitc3fe41dd0a4fd7002de4e821e09a75cc1ca97209 (patch)
tree9905a398e3471bd7c838f3836df8dd88e25706a7 /pkgs/development/python-modules/btest
parent1b63409492f3c4a70f6eed34aaaab9417035dca7 (diff)
python310Packages.btest: init at 1.0
Diffstat (limited to 'pkgs/development/python-modules/btest')
-rw-r--r--pkgs/development/python-modules/btest/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/btest/default.nix b/pkgs/development/python-modules/btest/default.nix
new file mode 100644
index 0000000000000..d993f1a9746fd
--- /dev/null
+++ b/pkgs/development/python-modules/btest/default.nix
@@ -0,0 +1,31 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+  pname = "btest";
+  version = "1.0";
+  format = "setuptools";
+
+  disabled = pythonOlder "3.7";
+
+  src = fetchFromGitHub {
+    owner = "zeek";
+    repo = "btest";
+    rev = "refs/tags/v${version}";
+    hash = "sha256-QvK2MZTx+DD2u+h7dk0F5kInXGVp73ZTvG080WV2BVQ=";
+  };
+
+  # No tests available and no module to import
+  doCheck = false;
+
+  meta = with lib; {
+    description = "A Generic Driver for Powerful System Tests";
+    homepage = "https://github.com/zeek/btest";
+    changelog = "https://github.com/zeek/btest/blob/${version}/CHANGES";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ fab ];
+  };
+}