2013-03-07 06:59:03 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="sodium";
|
2013-10-20 17:07:15 +00:00
|
|
|
version="0.4.3";
|
2013-03-07 06:59:03 +00:00
|
|
|
name="${baseName}-${version}";
|
2013-10-20 17:07:15 +00:00
|
|
|
hash="0hk0zca1kpj6xlc2j2qx9qy7287pi0896frmxq5d7qmcwsdf372r";
|
|
|
|
url="http://download.dnscrypt.org/libsodium/releases/libsodium-0.4.3.tar.gz";
|
|
|
|
sha256="0hk0zca1kpj6xlc2j2qx9qy7287pi0896frmxq5d7qmcwsdf372r";
|
2013-03-07 06:59:03 +00:00
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
meta = {
|
|
|
|
inherit (s) version;
|
|
|
|
description = ''A cryptography library with simple API'';
|
|
|
|
license = stdenv.lib.licenses.mit ;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|