Merge pull request #20523 from romildo/upd.nitrogen

nitrogen: 1.5.2 -> 1.6.0
This commit is contained in:
Mateusz Kowalczyk 2016-11-18 21:38:47 +00:00 committed by GitHub
commit 21a1611269

View File

@ -1,20 +1,25 @@
{ stdenv, fetchurl, pkgconfig, glib, gtkmm2 }:
let version = "1.5.2";
let version = "1.6.0";
in
stdenv.mkDerivation rec {
name = "nitrogen-${version}";
src = fetchurl {
url = "http://projects.l3ib.org/nitrogen/files/nitrogen-${version}.tar.gz";
sha256 = "60a2437ce6a6c0ba44505fc8066c1973140d4bb48e1e5649f525c7b0b8bf9fd2";
url = "http://projects.l3ib.org/nitrogen/files/${name}.tar.gz";
sha256 = "1pil2qa3v7x56zh9xvba8v96abnf9qgglbsdlrlv0kfjlhzl4jhr";
};
buildInputs = [ glib gtkmm2 pkgconfig ];
nativeBuildInputs = [ pkgconfig ];
NIX_LDFLAGS = "-lX11";
buildInputs = [ glib gtkmm2 ];
patchPhase = "patchShebangs data/icon-theme-installer";
NIX_CXXFLAGS_COMPILE = "-std=c++11";
patchPhase = ''
substituteInPlace data/Makefile.in --replace /usr/share $out/share
patchShebangs data/icon-theme-installer
'';
meta = {
description = "A wallpaper browser and setter for X11";