colord: 1.2.3 -> 1.2.12

* Use fetchzip instead of fetchurl
This commit is contained in:
Samuel Rivas 2015-08-23 21:36:31 +02:00 committed by Bjørn Forsman
parent fa67a2d301
commit c41a62aa98

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, fetchgit, bashCompletion { stdenv, fetchzip, fetchgit, bashCompletion
, glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus , glib, polkit, pkgconfig, intltool, gusb, libusb1, lcms2, sqlite, systemd, dbus
, automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection }: , automake, autoconf, libtool, gtk_doc, which, gobjectIntrospection, argyllcms }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "colord-1.2.3"; name = "colord-1.2.12";
src = fetchurl { src = fetchzip {
url = "http://www.freedesktop.org/software/colord/releases/${name}.tar.xz"; url = "http://www.freedesktop.org/software/colord/releases/${name}.tar.xz";
sha256 = "1z3l6hb3b08fixfra6m887a2j3lvhib6vp798ik16jfh375gr490"; sha256 = "0rvvbpxd5x479v4p6pck317mlf3j29s154i1n8hlx8n4znhwrb0k";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection buildInputs = [ glib polkit pkgconfig intltool gusb libusb1 lcms2 sqlite systemd dbus gobjectIntrospection
bashCompletion ]; bashCompletion argyllcms automake autoconf ];
postInstall = '' postInstall = ''
rm -fr $out/var/lib/colord rm -fr $out/var/lib/colord