about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJanik <80165193+Janik-Haag@users.noreply.github.com>2024-02-21 00:21:02 +0100
committerGitHub <noreply@github.com>2024-02-21 00:21:02 +0100
commitbd96c7857d4ad7e518e806b2ecebf7e10693f0b3 (patch)
treeef0ea885630e4a235d55c2647c6fa33a21f5c5b6
parent5eeded8e3518579daa13887297efa79f5be74b41 (diff)
parentd04bb2d74f720f1ba1d78850e0300327be05d49f (diff)
downloadnixlib-bd96c7857d4ad7e518e806b2ecebf7e10693f0b3.tar
nixlib-bd96c7857d4ad7e518e806b2ecebf7e10693f0b3.tar.gz
nixlib-bd96c7857d4ad7e518e806b2ecebf7e10693f0b3.tar.bz2
nixlib-bd96c7857d4ad7e518e806b2ecebf7e10693f0b3.tar.lz
nixlib-bd96c7857d4ad7e518e806b2ecebf7e10693f0b3.tar.xz
nixlib-bd96c7857d4ad7e518e806b2ecebf7e10693f0b3.tar.zst
nixlib-bd96c7857d4ad7e518e806b2ecebf7e10693f0b3.zip
Merge pull request #280798 from rostan-t/add-refery
python3Packages.refery: init at 2.1.0 and maintainers: add rostan-t
-rw-r--r--maintainers/maintainer-list.nix6
-rw-r--r--pkgs/development/python-modules/refery/default.nix45
-rw-r--r--pkgs/top-level/python-packages.nix2
3 files changed, 53 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 3da3cf664806..eb934d99bc13 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -16521,6 +16521,12 @@
     github = "RossComputerGuy";
     githubId = 19699320;
   };
+  rostan-t = {
+    name = "Rostan Tabet";
+    email = "rostan.tabet@gmail.com";
+    github = "rostan-t";
+    githubId = 30502549;
+  };
   rotaerk = {
     name = "Matthew Stewart";
     email = "m.scott.stewart@gmail.com";
diff --git a/pkgs/development/python-modules/refery/default.nix b/pkgs/development/python-modules/refery/default.nix
new file mode 100644
index 000000000000..0bae769fbdad
--- /dev/null
+++ b/pkgs/development/python-modules/refery/default.nix
@@ -0,0 +1,45 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pythonOlder
+
+, poetry-core
+, pyyaml
+, colorama
+, junit-xml
+}:
+
+buildPythonPackage rec {
+  pname = "refery";
+  version = "2.1.0";
+  format = "pyproject";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha512-ju0lqCSg0zcZNqRXDmFX6X1ugBocpmHMBWJApO6Tzhm/tLMQTKy2RpB4C8fkKCEWA2mYX4w1dLdHe68hZixwkQ==";
+  };
+
+  propagatedBuildInputs = [
+    poetry-core
+    pyyaml
+    colorama
+    junit-xml
+  ];
+
+  pythonImportCheck = [
+    "refery"
+  ];
+
+  disabled = pythonOlder "3.10";
+
+  # No tests yet
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Functional testing tool";
+    homepage = "https://github.com/RostanTabet/refery";
+    mainProgram = "refery";
+    maintainers = with maintainers; [ rostan-t ];
+    license = licenses.mit;
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index a94342c01b6e..bdd6908c95fe 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -12620,6 +12620,8 @@ self: super: with self; {
 
   referencing = callPackage ../development/python-modules/referencing { };
 
+  refery = callPackage ../development/python-modules/refery { };
+
   reflink = callPackage ../development/python-modules/reflink { };
 
   regenmaschine = callPackage ../development/python-modules/regenmaschine { };