about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-06-15 12:40:47 +0100
committerGitHub <noreply@github.com>2018-06-15 12:40:47 +0100
commit35b9df79e21754139e88ae3c95dc97191403e81e (patch)
treede95a2044ab1cee2a40b3cfea2116ca21158bb40 /pkgs
parent8ba598fe564b07e00a14998ffba6563402a3824a (diff)
parent3f9d48168b305ff13d716ed3cc13217757c9f96d (diff)
downloadnixlib-35b9df79e21754139e88ae3c95dc97191403e81e.tar
nixlib-35b9df79e21754139e88ae3c95dc97191403e81e.tar.gz
nixlib-35b9df79e21754139e88ae3c95dc97191403e81e.tar.bz2
nixlib-35b9df79e21754139e88ae3c95dc97191403e81e.tar.lz
nixlib-35b9df79e21754139e88ae3c95dc97191403e81e.tar.xz
nixlib-35b9df79e21754139e88ae3c95dc97191403e81e.tar.zst
nixlib-35b9df79e21754139e88ae3c95dc97191403e81e.zip
Merge pull request #42065 from Mic92/pythonix
python.pkgs.pythonix: 0.1.0 -> 0.1.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pythonix/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pythonix/default.nix b/pkgs/development/python-modules/pythonix/default.nix
index 6248ed7bf66a..7c8d51f2f43e 100644
--- a/pkgs/development/python-modules/pythonix/default.nix
+++ b/pkgs/development/python-modules/pythonix/default.nix
@@ -1,21 +1,26 @@
-{ stdenv, fetchFromGitHub, ninja, meson, pkgconfig, nixUnstable, isPy3k }:
+{ stdenv, fetchFromGitHub, ninja, boost, meson, pkgconfig, nix, isPy3k }:
 
-assert isPy3k;
 
 stdenv.mkDerivation rec {
   name = "pythonix-${version}";
-  version = "0.1.0";
+  version = "0.1.4";
 
   src = fetchFromGitHub {
     owner = "Mic92";
     repo = "pythonix";
     rev = "v${version}";
-    sha256 = "1piblysypyr442a6najk4mdh87xc377i2fdbfw6fr569z60mnnnj";
+    sha256 = "1q1fagfwzvmcm1n3a0liay7m5krazmhw9l001m90rrz2x7vrsqwk";
   };
 
-  nativeBuildInputs = [ meson pkgconfig ninja ];
+  disabled = !isPy3k;
 
-  buildInputs = [ nixUnstable ];
+  nativeBuildInputs = [ meson ninja pkgconfig ];
+
+  buildInputs = [ nix boost ];
+
+  checkPhase = ''
+    ninja test
+  '';
 
   meta = with stdenv.lib; {
     description = ''
@@ -23,6 +28,5 @@ stdenv.mkDerivation rec {
     '';
     maintainers = [ maintainers.mic92 ];
     license = licenses.mit;
-    platforms = platforms.linux;
   };
 }