2013-10-01 16:10:18 +01:00
|
|
|
{stdenv, fetchurl, libX11, libXinerama, imlib2}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "bgs-${version}";
|
2014-07-15 18:50:07 +01:00
|
|
|
version = "0.6";
|
2013-10-01 16:10:18 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/Gottox/bgs/archive/${version}.tar.gz";
|
2014-07-15 18:50:07 +01:00
|
|
|
sha256 = "19xwslh74686qln0ylaql28z3ng45c7srrb3cxxvfp35lz7hjpf0";
|
2013-10-01 16:10:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXinerama imlib2 ];
|
|
|
|
|
|
|
|
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
|
|
|
|
|
2013-12-10 22:20:23 +00:00
|
|
|
meta = {
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Extremely fast and small background setter for X";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2013-12-10 22:20:23 +00:00
|
|
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [pSub];
|
2013-10-01 16:10:18 +01:00
|
|
|
};
|
|
|
|
}
|