2021-01-11 07:54:33 +00:00
|
|
|
{lib, stdenv, fetchurl, pkgconfig, libX11, libXinerama, imlib2}:
|
2013-10-01 16:10:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bgs";
|
2015-09-05 10:06:14 +01:00
|
|
|
version = "0.8";
|
2013-10-01 16:10:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-05-11 17:15:14 +01:00
|
|
|
url = "https://github.com/Gottox/bgs/archive/v${version}.tar.gz";
|
2015-09-05 10:06:14 +01:00
|
|
|
sha256 = "1rw9ingkkpvvr2dixx126ziim67a54r8k49918h1mbph0fjj08n5";
|
2013-10-01 16:10:18 +01:00
|
|
|
};
|
|
|
|
|
2015-09-05 10:06:14 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
2013-10-01 16:10:18 +01: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 17:15:14 +01:00
|
|
|
description = "Extremely fast and small background setter for X";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2013-10-01 16:10:18 +01:00
|
|
|
};
|
|
|
|
}
|