2021-01-17 10:17:16 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk2, libglade, openbox,
|
2017-02-26 19:26:16 +01:00
|
|
|
imlib2, libstartup_notification, makeWrapper, libSM }:
|
2014-08-08 00:58:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "obconf";
|
2014-08-08 00:58:18 +02:00
|
|
|
version = "2.0.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://openbox.org/dist/obconf/obconf-${version}.tar.gz";
|
|
|
|
sha256 = "1fanjdmd8727kk74x5404vi8v7s4kpq48l583d12fsi4xvsfb8vi";
|
|
|
|
};
|
|
|
|
|
2021-01-17 10:17:16 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-08-08 00:58:18 +02:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
gtk2 libglade libSM openbox imlib2 libstartup_notification
|
2017-02-26 19:26:16 +01:00
|
|
|
makeWrapper
|
2014-08-08 00:58:18 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/obconf --prefix XDG_DATA_DIRS : ${openbox}/share/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GUI configuration tool for openbox";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://openbox.org/wiki/ObConf";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.lhvwb ];
|
|
|
|
platforms = lib.platforms.linux;
|
2014-08-08 00:58:18 +02:00
|
|
|
};
|
|
|
|
}
|