depot/third_party/nixpkgs/pkgs/tools/X11/obconf/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
831 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gtk2, libglade, openbox,
imlib2, libstartup_notification, makeWrapper, libSM }:
stdenv.mkDerivation rec {
pname = "obconf";
version = "2.0.4";
src = fetchurl {
url = "http://openbox.org/dist/obconf/obconf-${version}.tar.gz";
sha256 = "1fanjdmd8727kk74x5404vi8v7s4kpq48l583d12fsi4xvsfb8vi";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gtk2 libglade libSM openbox imlib2 libstartup_notification
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/obconf --prefix XDG_DATA_DIRS : ${openbox}/share/
'';
meta = {
description = "GUI configuration tool for openbox";
homepage = "http://openbox.org/wiki/ObConf";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.lhvwb ];
platforms = lib.platforms.linux;
};
}