about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pycairo
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2015-11-08 08:21:58 +0100
committerDomen Kožar <domen@dev.si>2015-11-08 08:22:04 +0100
commit792fcd9f702291eda911a4713f2a8e4fc70f61e7 (patch)
treecd3a380d7bf510a6448945b4c0825c854bad399a /pkgs/development/python-modules/pycairo
parentb2b568d782b95001f3bec5ddfbbed5461355c6b3 (diff)
downloadnixlib-792fcd9f702291eda911a4713f2a8e4fc70f61e7.tar
nixlib-792fcd9f702291eda911a4713f2a8e4fc70f61e7.tar.gz
nixlib-792fcd9f702291eda911a4713f2a8e4fc70f61e7.tar.bz2
nixlib-792fcd9f702291eda911a4713f2a8e4fc70f61e7.tar.lz
nixlib-792fcd9f702291eda911a4713f2a8e4fc70f61e7.tar.xz
nixlib-792fcd9f702291eda911a4713f2a8e4fc70f61e7.tar.zst
nixlib-792fcd9f702291eda911a4713f2a8e4fc70f61e7.zip
pycairo: disable on py35
Diffstat (limited to 'pkgs/development/python-modules/pycairo')
-rw-r--r--pkgs/development/python-modules/pycairo/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pycairo/default.nix b/pkgs/development/python-modules/pycairo/default.nix
index cb93ccc2b581..ddaa7eb508e9 100644
--- a/pkgs/development/python-modules/pycairo/default.nix
+++ b/pkgs/development/python-modules/pycairo/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, fetchpatch, python, pkgconfig, cairo, xlibsWrapper, isPyPy }:
+{ stdenv, fetchurl, fetchpatch, python, pkgconfig, cairo, xlibsWrapper, isPyPy, isPy35 }:
 
-if isPyPy then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
+if (isPyPy || isPy35) then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
   version = "1.10.0";
   name = "pycairo-${version}";
   src = if python.is_py3k or false
@@ -36,4 +36,6 @@ if isPyPy then throw "pycairo not supported for interpreter ${python.executable}
   '';
   buildPhase = "${python.executable} waf";
   installPhase = "${python.executable} waf install";
+
+  meta.platforms = stdenv.lib.platforms.linux;
 }