2016-09-11 22:24:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, gtkmm2 }:
|
2014-06-04 04:56:34 +01:00
|
|
|
|
2017-02-20 23:46:33 +00:00
|
|
|
let version = "1.6.1";
|
2014-06-13 19:08:44 +01:00
|
|
|
in
|
2014-06-04 04:56:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "nitrogen";
|
|
|
|
inherit version;
|
2014-06-04 04:56:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 22:52:01 +01:00
|
|
|
url = "http://projects.l3ib.org/nitrogen/files/${pname}-${version}.tar.gz";
|
2017-02-20 23:46:33 +00:00
|
|
|
sha256 = "0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl";
|
2014-06-04 04:56:34 +01:00
|
|
|
};
|
2014-06-13 19:08:44 +01:00
|
|
|
|
2016-11-18 11:49:27 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-06-13 18:32:29 +01:00
|
|
|
|
2016-11-18 11:49:27 +00:00
|
|
|
buildInputs = [ glib gtkmm2 ];
|
2014-06-13 18:32:29 +01:00
|
|
|
|
2016-11-18 11:49:27 +00:00
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs data/icon-theme-installer
|
|
|
|
'';
|
2014-06-13 18:32:29 +01:00
|
|
|
|
2014-06-04 04:56:34 +01:00
|
|
|
meta = {
|
2014-06-13 19:08:44 +01: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.
|
|
|
|
'';
|
2018-09-04 21:00:43 +01:00
|
|
|
homepage = https://github.com/l3ib/nitrogen;
|
2014-06-13 18:54:19 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2014-06-04 04:56:34 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-07-22 22:45:18 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.auntie ];
|
2014-06-04 04:56:34 +01:00
|
|
|
};
|
|
|
|
}
|