mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
nitrogen: 1.5.2 -> 1.6.0
This commit is contained in:
parent
ba73dbbda6
commit
1a486c47af
1 changed files with 11 additions and 6 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue