python pycairo: add python.libPrefix

This commit is contained in:
Frederik Rietdijk 2015-12-09 14:18:58 +01:00
parent 6938b74d2c
commit 1d84bff14c

View File

@ -2,7 +2,7 @@
if (isPyPy || isPy35) then throw "pycairo not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
version = "1.10.0";
name = "pycairo-${version}";
name = "${python.libPrefix}-pycairo-${version}";
src = if python.is_py3k or false
then fetchurl {
url = "http://cairographics.org/releases/pycairo-${version}.tar.bz2";