2021-09-19 20:59:57 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, libXinerama, imlib2 }:
|
2013-10-01 15:10:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "bgs";
|
2015-09-05 09:06:14 +00:00
|
|
|
version = "0.8";
|
2013-10-01 15:10:18 +00:00
|
|
|
|
2021-09-19 20:59:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Gottox";
|
|
|
|
repo = "bgs";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "V8GP+xLSiCvaYZt8Bi3/3KlTBaGnMYQUeNCHwH6Ejzo=";
|
2013-10-01 15:10:18 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-09-05 09:06:14 +00:00
|
|
|
|
2013-10-01 15:10:18 +00:00
|
|
|
buildInputs = [ libX11 libXinerama imlib2 ];
|
|
|
|
|
|
|
|
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-05-11 16:15:14 +00:00
|
|
|
description = "Extremely fast and small background setter for X";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2013-10-01 15:10:18 +00:00
|
|
|
};
|
|
|
|
}
|