python pycups: 1.9.68 -> 1.9.73 and move expression

This commit is contained in:
Frederik Rietdijk
2015-12-09 10:04:56 +01:00
parent dbdfda7871
commit 88bcfa6441
3 changed files with 19 additions and 19 deletions

View File

@@ -1,18 +0,0 @@
{ stdenv, fetchurl, python, cups }:
let version = "1.9.68"; in
stdenv.mkDerivation {
name = "pycups-${version}";
src = fetchurl {
url = "http://cyberelk.net/tim/data/pycups/pycups-${version}.tar.bz2";
sha256 = "1i1ph9k1wampa7r6mgc30a99w0zjmxhvcxjxrgjqa5vdknynqd24";
};
installPhase = ''
CFLAGS=-DVERSION=\\\"${version}\\\" python ./setup.py install --prefix $out
'';
buildInputs = [ python cups ];
}