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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
1015 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, glib, gtkmm2 }:
2014-06-04 03:56:34 +00:00
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "nitrogen";
2021-07-14 15:10:11 +00:00
version = "1.6.1";
2014-06-04 03:56:34 +00:00
src = fetchurl {
2019-08-13 21:52:01 +00: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 03:56:34 +00:00
};
nativeBuildInputs = [ pkg-config ];
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.
'';
homepage = "https://github.com/l3ib/nitrogen";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.auntie ];
2014-06-04 03:56:34 +00:00
};
}