620eecebfb
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
27 lines
670 B
Nix
27 lines
670 B
Nix
{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, libXinerama, imlib2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bgs";
|
|
version = "0.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gottox";
|
|
repo = "bgs";
|
|
rev = "v${version}";
|
|
sha256 = "V8GP+xLSiCvaYZt8Bi3/3KlTBaGnMYQUeNCHwH6Ejzo=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ libX11 libXinerama imlib2 ];
|
|
|
|
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
|
|
|
|
meta = with lib; {
|
|
description = "Extremely fast and small background setter for X";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|