2014-06-13 17:32:29 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtk2, gtkmm }:
|
2014-06-04 03:56:34 +00:00
|
|
|
|
2014-06-13 18:08:44 +00:00
|
|
|
let version = "1.5.2";
|
|
|
|
in
|
2014-06-04 03:56:34 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-06-13 18:08:44 +00:00
|
|
|
name = "nitrogen-${version}";
|
2014-06-04 03:56:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-06-13 18:08:44 +00:00
|
|
|
url = "http://projects.l3ib.org/nitrogen/files/nitrogen-${version}.tar.gz";
|
2014-06-04 03:56:34 +00:00
|
|
|
sha256 = "60a2437ce6a6c0ba44505fc8066c1973140d4bb48e1e5649f525c7b0b8bf9fd2";
|
|
|
|
};
|
2014-06-13 18:08:44 +00:00
|
|
|
|
2014-06-13 17:32:29 +00:00
|
|
|
buildInputs = [ glib gtk2 gtkmm pkgconfig ];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-lX11";
|
|
|
|
|
2014-06-15 05:49:25 +00:00
|
|
|
patchPhase = "patchShebangs data/icon-theme-installer";
|
2014-06-13 17:32:29 +00:00
|
|
|
|
2014-06-04 03:56:34 +00:00
|
|
|
meta = {
|
2014-06-13 18:08:44 +00:00
|
|
|
description = "A wallpaper browser and setter for X11";
|
|
|
|
longDescription = ''
|
|
|
|
nitrogen is a lightweight utility that can set the root background on X11.
|
|
|
|
It operates independently of any desktop environment, and supports
|
|
|
|
multi-head with Xinerama. Wallpapers are browsable with a convenient GUI,
|
|
|
|
and settings are stored in a human-readable config file.
|
|
|
|
'';
|
2014-06-04 03:56:34 +00:00
|
|
|
homepage = http://projects.l3ib.org/nitrogen/;
|
2014-06-13 17:54:19 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-06-04 03:56:34 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-07-22 21:45:18 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.auntie ];
|
2014-06-04 03:56:34 +00:00
|
|
|
};
|
|
|
|
}
|