Add bgs, a simple background setter for X

This commit is contained in:
Pascal Wittmann
2013-10-02 14:28:45 +02:00
committed by Moritz Ulrich
parent 7cac5a29e0
commit 51c48e2320
3 changed files with 27 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{stdenv, fetchurl, libX11, libXinerama, imlib2}:
stdenv.mkDerivation rec {
name = "bgs-${version}";
version = "0.5";
src = fetchurl {
url = "https://github.com/Gottox/bgs/archive/${version}.tar.gz";
sha256 = "67fe16e3483f30f940005856fbb3246e1f99cf58371470e0d6668a27acbaefb9";
};
buildInputs = [ libX11 libXinerama imlib2 ];
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
meta = {
description = "bgs is an extremely fast and small background setter for X.";
license = "MIT";
platforms = with stdenv.lib.platforms; all;
maintainers = with stdenv.lib.maintainers; [pSub];
};
}