2010-07-29 20:55:16 +02:00
|
|
|
{ stdenv, fetchurl, gmp }:
|
2008-03-03 13:30:39 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2010-07-29 20:55:16 +02: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 21:16:00 +01:00
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
2010-07-29 20:55:16 +02: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 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2018-08-04 17:00:58 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-29 20:55:16 +02:00
|
|
|
};
|
2008-03-03 13:30:39 +01:00
|
|
|
}
|