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