forked from mirrors/nixpkgs
e2a374799f
a worthy goal to move the Python packages that are currently in all-packages.nix into a single attribute set, but this doesn't require moving python-packages.nix or the other changes made to that file. The Python packages in all-packages.nix should simply be moved to python-packages.nix, and ideally changed to use buildPythonPackage. svn path=/nixpkgs/trunk/; revision=21196
12 lines
308 B
Nix
12 lines
308 B
Nix
{stdenv, fetchurl, python, pkgconfig, cairo, x11}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "pycairo-1.8.8";
|
|
src = fetchurl {
|
|
url = http://cairographics.org/releases/pycairo-1.8.8.tar.gz;
|
|
sha256 = "0q18hd4ai4raljlvd76ylgi30kxpr2qq83ka6gzwh0ya8fcmjlig";
|
|
};
|
|
|
|
buildInputs = [python pkgconfig cairo x11];
|
|
}
|