summary refs log tree commit diff
path: root/pkgs/development/python-modules/wtf-peewee/default.nix
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2019-07-18 17:01:59 -0400
committerAriel <ingenieroariel@gmail.com>2019-11-15 16:04:27 -0500
commitad8b178b0bd24c195785b8b507f3b3d97eb400c6 (patch)
tree11e80f8f9ccb605421dbf164ed22260f24b8a139 /pkgs/development/python-modules/wtf-peewee/default.nix
parent3fb612cdc92cd057e7a9ada1359045ee21cdd040 (diff)
downloadnixpkgs-ad8b178b0bd24c195785b8b507f3b3d97eb400c6.tar
nixpkgs-ad8b178b0bd24c195785b8b507f3b3d97eb400c6.tar.gz
nixpkgs-ad8b178b0bd24c195785b8b507f3b3d97eb400c6.tar.bz2
nixpkgs-ad8b178b0bd24c195785b8b507f3b3d97eb400c6.tar.lz
nixpkgs-ad8b178b0bd24c195785b8b507f3b3d97eb400c6.tar.xz
nixpkgs-ad8b178b0bd24c195785b8b507f3b3d97eb400c6.tar.zst
nixpkgs-ad8b178b0bd24c195785b8b507f3b3d97eb400c6.zip
pythonPackages.wtf-peewee: init at 3.0.0
Diffstat (limited to 'pkgs/development/python-modules/wtf-peewee/default.nix')
-rw-r--r--pkgs/development/python-modules/wtf-peewee/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/wtf-peewee/default.nix b/pkgs/development/python-modules/wtf-peewee/default.nix
new file mode 100644
index 00000000000..a01aaa4631a
--- /dev/null
+++ b/pkgs/development/python-modules/wtf-peewee/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, peewee
+, wtforms
+, python
+}:
+
+buildPythonPackage rec {
+  pname = "wtf-peewee";
+  version = "3.0.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "acd05d136c8595da3327fcf9176fa85fdcec1f2aac51d235e46e6fc7a0871283";
+  };
+
+  propagatedBuildInputs = [
+    peewee
+    wtforms
+  ];
+
+  checkPhase = ''
+    ${python.interpreter} runtests.py
+  '';
+
+  meta = with lib; {
+    description = "WTForms integration for peewee models";
+    homepage = https://github.com/coleifer/wtf-peewee/;
+    license = licenses.mit;
+    maintainers = [ maintainers.costrouc ];
+  };
+}