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