about summary refs log tree commit diff
path: root/pkgs/development/python-modules/itemdb
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-12-19 21:33:53 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-01-15 09:07:51 +0100
commit4f44ede48e9e8b8c2849f247f514d61e11149649 (patch)
tree087332b54c9d8811ff95bcb612f62e8f9bd29900 /pkgs/development/python-modules/itemdb
parent84ca20017bb8e36e11ebdf9ae9939230ba531fd9 (diff)
pythonPackages.itemdb: init at 1.1.1
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'pkgs/development/python-modules/itemdb')
-rw-r--r--pkgs/development/python-modules/itemdb/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/itemdb/default.nix b/pkgs/development/python-modules/itemdb/default.nix
new file mode 100644
index 0000000000000..f9afc4c5cb36b
--- /dev/null
+++ b/pkgs/development/python-modules/itemdb/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+}:
+
+buildPythonPackage rec {
+  pname = "itemdb";
+  version = "1.1.1";
+
+  # PyPI tarball doesn't include tests directory
+  src = fetchFromGitHub {
+    owner = "almarklein";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0ksad5j91nlbsn0a11clf994qz7r9ijand5hxnjhgd66i9hl3y78";
+  };
+
+  meta = with lib; {
+    description = "Easy transactional database for Python dicts, backed by SQLite";
+    license = licenses.bsd2;
+    homepage = "https://itemdb.readthedocs.io";
+    maintainers = [ maintainers.matthiasbeyer ];
+  };
+}
+
+