diff options
author | AndersonTorres <torres.anderson.85@gmail.com> | 2015-02-06 14:32:55 -0200 |
---|---|---|
committer | Arseniy Seroka <ars.seroka@gmail.com> | 2015-02-15 19:42:53 +0300 |
commit | f19ed980a2b037b2c72edc974c5b83ea292e6490 (patch) | |
tree | 6388059c566bd00c8dab5bf7019eb9d60d55675d /pkgs/development/libraries/rep-gtk | |
parent | df0016a8ce3ca9d3095eb5f08591f007f79db141 (diff) | |
download | nixlib-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar nixlib-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.gz nixlib-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.bz2 nixlib-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.lz nixlib-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.xz nixlib-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.zst nixlib-f19ed980a2b037b2c72edc974c5b83ea292e6490.zip |
Sawfish (git): New Package
Sawfish is a versatile, Lisp-based window manager In that commit I include all Sawfish stack: - librep, a lisp system; - rep-gtk, bindings for gtk - sawfish, the window manager
Diffstat (limited to 'pkgs/development/libraries/rep-gtk')
-rw-r--r-- | pkgs/development/libraries/rep-gtk/default.nix | 27 | ||||
-rw-r--r-- | pkgs/development/libraries/rep-gtk/setup-hook.sh | 5 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/libraries/rep-gtk/default.nix b/pkgs/development/libraries/rep-gtk/default.nix new file mode 100644 index 000000000000..070baf7ae794 --- /dev/null +++ b/pkgs/development/libraries/rep-gtk/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchgit, pkgconfig, autoreconfHook, librep, gtk2 }: + +with stdenv.lib; +stdenv.mkDerivation rec { + + name = "rep-gtk-git-2015-02-15"; + + src = fetchgit { + url = "https://github.com/SawfishWM/rep-gtk.git"; + rev = "74ac3504f2bbbcc9ded005ab97cbf94cdc47924d"; + sha256 = "edb47c5b6d09201d16a8f0616d18690ff0a37dca56d31c6e635b286bd0b6a031"; + }; + + buildInputs = [ pkgconfig autoreconfHook ]; + propagatedBuildInputs = [ librep gtk2 ]; + + patchPhase = '' + sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in + ''; + + meta = { + description = "GTK+ bindings for librep"; + homepage = http://sawfish.wikia.com; + license = licenses.gpl2; + maintainers = [ maintainers.AndersonTorres ]; + }; +} diff --git a/pkgs/development/libraries/rep-gtk/setup-hook.sh b/pkgs/development/libraries/rep-gtk/setup-hook.sh new file mode 100644 index 000000000000..420d63d6c513 --- /dev/null +++ b/pkgs/development/libraries/rep-gtk/setup-hook.sh @@ -0,0 +1,5 @@ +addRepDLLoadPath () { + addToSearchPath REP_DL_LOAD_PATH $1/lib/rep +} + +envHooks+=(addRepDLLoadPath) |