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/librep | |
parent | df0016a8ce3ca9d3095eb5f08591f007f79db141 (diff) | |
download | nixpkgs-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar nixpkgs-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.gz nixpkgs-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.bz2 nixpkgs-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.lz nixpkgs-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.xz nixpkgs-f19ed980a2b037b2c72edc974c5b83ea292e6490.tar.zst nixpkgs-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/librep')
-rw-r--r-- | pkgs/development/libraries/librep/default.nix | 42 | ||||
-rw-r--r-- | pkgs/development/libraries/librep/setup-hook.sh | 5 |
2 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/libraries/librep/default.nix b/pkgs/development/libraries/librep/default.nix new file mode 100644 index 00000000000..2abe01decb7 --- /dev/null +++ b/pkgs/development/libraries/librep/default.nix @@ -0,0 +1,42 @@ + + { stdenv, fetchgit +, pkgconfig, autoreconfHook +, readline, texinfo +, gdbm, gmp, libffi }: + +with stdenv.lib; +stdenv.mkDerivation rec { + + name = "librep-git-2015-02-15"; + + src = fetchgit { + url = "https://github.com/SawfishWM/librep.git"; + rev = "a1f2db721aa5055e90f6a76fde625946340ed8cf"; + sha256 = "c91484d02b2408becc8961997c3d6404aefa8e1f8af4621a8b5f7622b1857fa6"; + }; + + buildInputs = [ pkgconfig autoreconfHook readline texinfo ]; + propagatedBuildInputs = [ gdbm gmp libffi ]; + + configureFlags = [ + "--disable-static" + ]; + + setupHook = ./setup-hook.sh; + + meta = { + description = "Lisp system for Sawfish"; + longDescription = '' + This is librep, a Lisp system for UNIX, needed by Sawfish window manager. + It contains a Lisp interpreter, byte-code compiler and virtual machine. + Applications may use the Lisp interpreter as an extension language, + or it may be used for stand-alone scripts. + + The Lisp dialect was originally inspired by Emacs Lisp, but with the worst + features removed. It also borrows many ideas from Scheme. + ''; + homepage = http://sawfish.wikia.com; + license = licenses.gpl2; + maintainers = [ maintainers.AndersonTorres ]; + }; +} diff --git a/pkgs/development/libraries/librep/setup-hook.sh b/pkgs/development/libraries/librep/setup-hook.sh new file mode 100644 index 00000000000..420d63d6c51 --- /dev/null +++ b/pkgs/development/libraries/librep/setup-hook.sh @@ -0,0 +1,5 @@ +addRepDLLoadPath () { + addToSearchPath REP_DL_LOAD_PATH $1/lib/rep +} + +envHooks+=(addRepDLLoadPath) |