cairo: 1.15.12 -> 1.15.14

This commit is contained in:
Will Dietz 2018-09-25 07:40:30 -05:00
parent 6aa5f2db8f
commit b4323269f5

View File

@ -10,14 +10,14 @@
assert glSupport -> libGL != null; assert glSupport -> libGL != null;
let let
version = "1.15.12"; version = "1.15.14";
inherit (stdenv.lib) optional optionals; inherit (stdenv.lib) optional optionals;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "cairo-${version}"; name = "cairo-${version}";
src = fetchurl { src = fetchurl {
url = "https://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${name}.tar.xz"; url = "https://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${name}.tar.xz";
sha256 = "1jcl0mnqq6j2xip8p506g2cj54sfycm339rrd3p4g2jljhdhh8vn"; sha256 = "1399jfdpdhn4hf812hxlj1gyi3bznxwzhp2rnyq1nxjs05n6nmhn";
}; };
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];