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