summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycairo/default.nix
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-10-31 15:16:29 +0000
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-10-31 15:16:29 +0000
commit59b5bbeae91109007e36a269a94cccc865dc5175 (patch)
tree1ee3d18aedace6d66034ea72fea571d20d8d0fee /pkgs/development/python-modules/pycairo/default.nix
parentDo not use old stdenv version in faust wrap functions. (-8 alias, -15 unpatch... (diff)
parentMerge pull request #19675 from edwtjo/dictd-touchup (diff)
downloadnixpkgs-gitlab.intr/security-updates.tar.gz
Merge branch master into security-updatesorigin/security-updatesgitlab.intr/security-updates
This merge mostly take the changes made to the master branch. Some conflict happen in top-level/default.nix due to a reformating of the code of which is computing the fix-point. This merge fixes these issues by adding the pkgsIndex argument, needed to re-evaluate the fix-point with another set of packages, and also re-add the second fix-point made to support the dependencies.
Diffstat (limited to 'pkgs/development/python-modules/pycairo/default.nix')
-rw-r--r--pkgs/development/python-modules/pycairo/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pycairo/default.nix b/pkgs/development/python-modules/pycairo/default.nix
index fb95a9fa4683..23e06ff4cb4e 100644
--- a/pkgs/development/python-modules/pycairo/default.nix
+++ b/pkgs/development/python-modules/pycairo/default.nix
@@ -1,9 +1,9 @@
-{ lib, fetchurl, fetchpatch, python, mkPythonDerivation, pkgconfig, cairo, xlibsWrapper, isPyPy, isPy35 }:
+{ lib, fetchurl, fetchpatch, python, mkPythonDerivation, pkgconfig, cairo, xlibsWrapper, isPyPy, isPy35, isPy3k }:
if (isPyPy) then throw "pycairo not supported for interpreter ${python.executable}" else mkPythonDerivation rec {
version = "1.10.0";
name = "${python.libPrefix}-pycairo-${version}";
- src = if python.is_py3k or false
+ src = if isPy3k
then fetchurl {
url = "http://cairographics.org/releases/pycairo-${version}.tar.bz2";
sha256 = "1gjkf8x6hyx1skq3hhwcbvwifxvrf9qxis5vx8x5igmmgs70g94s";