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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
670 B
Nix
Raw Normal View History

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