mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
27 lines
713 B
Nix
27 lines
713 B
Nix
|
{ stdenv, fetchurl, pkgconfig, gtk, libglade, openbox,
|
||
|
imlib2, libstartup_notification, makeWrapper }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "obconf-${version}";
|
||
|
version = "2.0.4";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://openbox.org/dist/obconf/obconf-${version}.tar.gz";
|
||
|
sha256 = "1fanjdmd8727kk74x5404vi8v7s4kpq48l583d12fsi4xvsfb8vi";
|
||
|
};
|
||
|
|
||
|
buildInputs = [
|
||
|
pkgconfig gtk libglade 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 = stdenv.lib.licenses.gpl2;
|
||
|
};
|
||
|
}
|