1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 00:54:11 +00:00
nixpkgs/pkgs/tools/X11/hsetroot/default.nix

41 lines
785 B
Nix
Raw Normal View History

{ lib, stdenv
2020-11-11 16:23:02 +00:00
, fetchFromGitHub
, pkg-config
, imlib2
, libX11
, libXinerama
}:
2013-08-01 19:12:44 +01:00
2015-02-21 01:49:33 +00:00
stdenv.mkDerivation rec {
pname = "hsetroot";
2020-11-11 16:23:02 +00:00
version = "1.0.5";
2013-08-01 19:12:44 +01:00
2020-11-11 16:23:02 +00:00
src = fetchFromGitHub {
owner = "himdel";
repo = "hsetroot";
rev = version;
sha256 = "1jbk5hlxm48zmjzkaq5946s58rqwg1v1ds2sdyd2ba029hmvr722";
2013-08-01 19:12:44 +01:00
};
2020-11-11 16:23:02 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [
imlib2
libX11
libXinerama
];
2015-02-21 01:49:33 +00:00
2020-11-11 16:23:02 +00:00
makeFlags = [ "PREFIX=$(out)" ];
2015-02-21 01:49:33 +00:00
2020-11-11 16:23:02 +00:00
preInstall = ''
mkdir -p "$out/bin"
'';
2013-08-01 19:12:44 +01:00
meta = with lib; {
description = "Allows you to compose wallpapers ('root pixmaps') for X";
2020-11-11 16:23:02 +00:00
homepage = "https://github.com/himdel/hsetroot";
2015-02-21 01:49:33 +00:00
license = licenses.gpl2Plus;
2020-11-11 16:23:02 +00:00
maintainers = with maintainers; [ henrytill shamilton ];
2015-02-21 01:49:33 +00:00
platforms = platforms.unix;
2013-08-01 19:12:44 +01:00
};
}