mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 02:46:28 +00:00
907bb1aac6
* libdbi / libdbi-drivers: updated to 0.8.3, and make it compile with SQLite. * qemu-image: fix the URL. * gdmap: make it build again (requires an older GTK+). * rlwrap: updated to 0.37. * smbfs-fuse -> fusesmb to match the upstream name. * x11vnc: updated to 0.9.10. * clearlyU: fix the URL. * Various packages: follow the coding conventions. svn path=/nixpkgs/trunk/; revision=22814
27 lines
641 B
Nix
27 lines
641 B
Nix
{ stdenv, fetchurl, gmp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
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
|
|
ensureDir $out/bin $out/share/man/man1
|
|
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/;
|
|
};
|
|
}
|