2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib, gtkmm2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "nitrogen";
|
2021-07-17 21:14:59 +00:00
|
|
|
version = "1.6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://projects.l3ib.org/nitrogen/files/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ glib gtkmm2 ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs data/icon-theme-installer
|
|
|
|
'';
|
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/l3ib/nitrogen";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.auntie ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "nitrogen";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|