summary refs log tree commit diff
path: root/pkgs/development/python-modules/backcall
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-04-05 20:53:45 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2018-04-08 11:34:57 +0200
commit828160d15e166c917372e2d2556691e70b549fc9 (patch)
treed0eb476453361e0020f4d84d2a09be8e336b74b3 /pkgs/development/python-modules/backcall
parent9c8c8852e1af7421549643ed629c843d208273e9 (diff)
downloadnixpkgs-828160d15e166c917372e2d2556691e70b549fc9.tar
nixpkgs-828160d15e166c917372e2d2556691e70b549fc9.tar.gz
nixpkgs-828160d15e166c917372e2d2556691e70b549fc9.tar.bz2
nixpkgs-828160d15e166c917372e2d2556691e70b549fc9.tar.lz
nixpkgs-828160d15e166c917372e2d2556691e70b549fc9.tar.xz
nixpkgs-828160d15e166c917372e2d2556691e70b549fc9.tar.zst
nixpkgs-828160d15e166c917372e2d2556691e70b549fc9.zip
python.pkgs.backcall: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules/backcall')
-rw-r--r--pkgs/development/python-modules/backcall/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/backcall/default.nix b/pkgs/development/python-modules/backcall/default.nix
new file mode 100644
index 00000000000..2eb44cb3624
--- /dev/null
+++ b/pkgs/development/python-modules/backcall/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, pytest
+}:
+
+buildPythonPackage rec {
+  pname = "backcall";
+  version = "0.1.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4";
+  };
+
+  checkInputs = [ pytest ];
+
+  checkPhase = ''
+    py.test
+  '';
+
+  meta = {
+    description = "Specifications for callback functions passed in to an API";
+    homepage = https://github.com/takluyver/backcall;
+    license = lib.licenses.bsd3;
+  };
+
+}
\ No newline at end of file