nixpkgs/pkgs/tools/X11/nitrogen/default.nix

35 lines
1.0 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, gtkmm2 }:
2014-06-04 03:56:34 +00:00
2017-02-20 23:46:33 +00:00
let version = "1.6.1";
in
2014-06-04 03:56:34 +00:00
stdenv.mkDerivation rec {
name = "nitrogen-${version}";
2014-06-04 03:56:34 +00:00
src = fetchurl {
2016-11-18 11:49:27 +00:00
url = "http://projects.l3ib.org/nitrogen/files/${name}.tar.gz";
2017-02-20 23:46:33 +00:00
sha256 = "0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl";
2014-06-04 03:56:34 +00:00
};
2016-11-18 11:49:27 +00:00
nativeBuildInputs = [ pkgconfig ];
2016-11-18 11:49:27 +00:00
buildInputs = [ glib gtkmm2 ];
2016-11-18 11:49:27 +00:00
patchPhase = ''
patchShebangs data/icon-theme-installer
'';
2014-06-04 03:56:34 +00:00
meta = {
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/;
license = stdenv.lib.licenses.gpl2;
2014-06-04 03:56:34 +00:00
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.auntie ];
2014-06-04 03:56:34 +00:00
};
}