about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dek
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-12 15:10:44 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-03-12 18:24:26 +0100
commit1cb49d8e3accc9b8f8410e427c5e5a76f298d8fa (patch)
tree7443bf4b92f866095dc6d7e930e98c29ef3a829e /pkgs/development/python-modules/dek
parentef046a1fd424bffecf557d5e179319335bfcca65 (diff)
python311Packages.dek: init at 1.4.2
Diffstat (limited to 'pkgs/development/python-modules/dek')
-rw-r--r--pkgs/development/python-modules/dek/default.nix44
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dek/default.nix b/pkgs/development/python-modules/dek/default.nix
new file mode 100644
index 0000000000000..147cc40e316b2
--- /dev/null
+++ b/pkgs/development/python-modules/dek/default.nix
@@ -0,0 +1,44 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, poetry-core
+, xmod
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "dek";
+  version = "1.4.2";
+  pyproject = true;
+
+  src = fetchFromGitHub {
+    owner = "rec";
+    repo = "dek";
+    rev = "v${version}";
+    hash = "sha256-DYODdImTRCukGmGbkZ+9TQeI9DYaeRd/EHS6VND5IDs=";
+  };
+
+  build-system = [
+    poetry-core
+  ];
+
+  dependencies = [
+    xmod
+  ];
+
+  nativeBuildInputs = [
+    pytestCheckHook
+  ];
+
+  pythonImportsCheck = [
+    "dek"
+  ];
+
+  meta = with lib; {
+    description = "The decorator-decorator";
+    homepage = "https://github.com/rec/dek";
+    changelog = "https://github.com/rec/dek/blob/${src.rev}/CHANGELOG";
+    license = licenses.mit;
+    maintainers = with maintainers; [ ];
+  };
+}