nixpkgs/pkgs/tools/X11/bgs/default.nix

24 lines
630 B
Nix
Raw Normal View History

{stdenv, fetchurl, libX11, libXinerama, imlib2}:
stdenv.mkDerivation rec {
name = "bgs-${version}";
2015-05-12 17:24:17 +02:00
version = "0.7.1";
src = fetchurl {
2015-05-11 18:15:14 +02:00
url = "https://github.com/Gottox/bgs/archive/v${version}.tar.gz";
2015-05-12 17:24:17 +02:00
sha256 = "1kgm139daz4xrymx11whbmwzsnps9yn4g34a17s34ihi0raf70w8";
};
buildInputs = [ libX11 libXinerama imlib2 ];
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
2015-05-11 18:15:14 +02:00
meta = with stdenv.lib; {
description = "Extremely fast and small background setter for X";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}