2013-03-07 07:59:03 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="sodium";
|
2014-05-27 23:19:51 +02:00
|
|
|
version="0.5.0";
|
2013-03-07 07:59:03 +01:00
|
|
|
name="${baseName}-${version}";
|
2014-05-27 23:19:51 +02:00
|
|
|
hash="1w7rrnsvhhzhywrr3nhlhppv4kqzdszz3dwy8jrsv8lrj5hs181w";
|
|
|
|
url="http://download.dnscrypt.org/libsodium/releases/libsodium-0.5.0.tar.gz";
|
|
|
|
sha256="1w7rrnsvhhzhywrr3nhlhppv4kqzdszz3dwy8jrsv8lrj5hs181w";
|
2013-03-07 07:59:03 +01: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;
|
|
|
|
};
|
|
|
|
}
|