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

28 lines
670 B
Nix
Raw Normal View History

2021-09-19 22:59:57 +02:00
{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, libXinerama, imlib2 }:
stdenv.mkDerivation rec {
pname = "bgs";
2015-09-05 11:06:14 +02:00
version = "0.8";
2021-09-19 22:59:57 +02:00
src = fetchFromGitHub {
owner = "Gottox";
repo = "bgs";
rev = "v${version}";
sha256 = "V8GP+xLSiCvaYZt8Bi3/3KlTBaGnMYQUeNCHwH6Ejzo=";
};
nativeBuildInputs = [ pkg-config ];
2015-09-05 11:06:14 +02:00
buildInputs = [ libX11 libXinerama imlib2 ];
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
meta = with lib; {
2015-05-11 18:15:14 +02:00
description = "Extremely fast and small background setter for X";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}