mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
tclgpg: New package, pre-1.0 release.
The library has not been released so far, but it is used by Tkabber and some other software in Tcl (none of them is in nixpkgs so far). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
28a725fcbe
commit
882289a583
37
pkgs/development/libraries/tclgpg/default.nix
Normal file
37
pkgs/development/libraries/tclgpg/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchsvn, autoconf, automake, tcl, tcllib, gnupg }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tclgpg-${version}";
|
||||
version = "1.0pre";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://tclgpg.googlecode.com/svn/trunk";
|
||||
rev = 74;
|
||||
sha256 = "5207b1d246fea6d4527e8c044579dae45a2e31eeaa5633f4f97c7e7b54ec27c5";
|
||||
};
|
||||
|
||||
configureFlags = "--with-tcl=" + tcl + "/lib "
|
||||
+ "--with-tclinclude=" + tcl + "/include ";
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="--exec_prefix=$prefix $configureFlags"
|
||||
sed -i -e 's|dtplite|TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}" &|' Makefile.in
|
||||
autoreconf -vfi
|
||||
'';
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e 's|\[auto_execok gpg\]|"${gnupg}/bin/gpg2"|' tclgpg.tcl
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
libPrefix = "gpg1.0";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake tcl tcllib ];
|
||||
|
||||
meta = {
|
||||
homepage = http://code.google.com/p/tclgpg/;
|
||||
description = "A Tcl interface to GNU Privacy Guard";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
};
|
||||
}
|
@ -4867,6 +4867,8 @@ let
|
||||
|
||||
tclap = callPackage ../development/libraries/tclap {};
|
||||
|
||||
tclgpg = callPackage ../development/libraries/tclgpg { };
|
||||
|
||||
tcllib = callPackage ../development/libraries/tcllib { };
|
||||
|
||||
tcltls = callPackage ../development/libraries/tcltls { };
|
||||
|
Loading…
Reference in New Issue
Block a user