2010-07-29 18:55:16 +00:00
|
|
|
{ stdenv, fetchurl, gmp }:
|
2008-03-03 12:30:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-07-29 18:55:16 +00:00
|
|
|
name = "ssss-0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://point-at-infinity.org/ssss/ssss-0.5.tar.gz;
|
|
|
|
sha256 = "15grn2fp1x8p92kxkwbmsx8rz16g93y9grl3hfqbh1jn21ama5jx";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gmp ];
|
|
|
|
|
|
|
|
preBuild =
|
|
|
|
''
|
|
|
|
sed -e s@/usr/@$out/@g -i Makefile
|
|
|
|
cp ssss.manpage.xml ssss.1
|
|
|
|
cp ssss.manpage.xml ssss.1.html
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
2010-07-29 18:55:16 +00:00
|
|
|
echo -e 'install:\n\tcp ssss-combine ssss-split '"$out"'/bin' >>Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Shamir Secret Sharing Scheme";
|
|
|
|
homepage = http://point-at-infinity.org/ssss/;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-07-29 18:55:16 +00:00
|
|
|
};
|
2008-03-03 12:30:39 +00:00
|
|
|
}
|