1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/tools/X11/bgs/default.nix
2014-07-15 19:50:29 +02:00

24 lines
636 B
Nix

{stdenv, fetchurl, libX11, libXinerama, imlib2}:
stdenv.mkDerivation rec {
name = "bgs-${version}";
version = "0.6";
src = fetchurl {
url = "https://github.com/Gottox/bgs/archive/${version}.tar.gz";
sha256 = "19xwslh74686qln0ylaql28z3ng45c7srrb3cxxvfp35lz7hjpf0";
};
buildInputs = [ libX11 libXinerama imlib2 ];
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
meta = {
description = "Extremely fast and small background setter for X";
license = "MIT";
hydraPlatforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [pSub];
};
}