mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
setroot: init at 1.4.4
This commit is contained in:
parent
420f55542c
commit
db25c680c9
31
pkgs/tools/X11/setroot/default.nix
Normal file
31
pkgs/tools/X11/setroot/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, lib, fetchFromGitHub, libX11, imlib2
|
||||
, enableXinerama ? true, libXinerama ? null
|
||||
}:
|
||||
|
||||
assert enableXinerama -> libXinerama != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.4.4";
|
||||
name = "setroot-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ttzhou";
|
||||
repo = "setroot";
|
||||
rev = "v${version}";
|
||||
sha256 = "0vphma0as8pnqrakdw6gaiiz7xawb4y72sc9dna755kkclgbyl8m";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 imlib2 ]
|
||||
++ stdenv.lib.optional enableXinerama libXinerama;
|
||||
|
||||
buildFlags = if enableXinerama then "xinerama=1" else "xinerama=0";
|
||||
|
||||
installFlags = "DESTDIR=$(out) PREFIX=";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple X background setter inspired by imlibsetroot and feh";
|
||||
homepage = https://github.com/ttzhou/setroot;
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -3037,6 +3037,8 @@ let
|
||||
|
||||
seccure = callPackage ../tools/security/seccure { };
|
||||
|
||||
setroot = callPackage ../tools/X11/setroot { };
|
||||
|
||||
setserial = callPackage ../tools/system/setserial { };
|
||||
|
||||
seqdiag = pythonPackages.seqdiag;
|
||||
|
Loading…
Reference in New Issue
Block a user