3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/bgs/default.nix

26 lines
665 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, pkgconfig, libX11, libXinerama, imlib2}:
stdenv.mkDerivation rec {
pname = "bgs";
2015-09-05 10:06:14 +01:00
version = "0.8";
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";
};
2015-09-05 10:06:14 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libXinerama imlib2 ];
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
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 ];
};
}