2013-03-07 07:59:03 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="sodium";
|
2015-01-18 16:18:51 +01:00
|
|
|
version="1.0.2";
|
2013-03-07 07:59:03 +01:00
|
|
|
name="${baseName}-${version}";
|
2015-01-18 16:18:51 +01:00
|
|
|
hash="06dabf77cz6qg7aqv5j5r4m32b5zn253pixwb3k5lm3z0h88y7cn";
|
|
|
|
url="http://download.dnscrypt.org/libsodium/releases/libsodium-1.0.2.tar.gz";
|
|
|
|
sha256="06dabf77cz6qg7aqv5j5r4m32b5zn253pixwb3k5lm3z0h88y7cn";
|
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;
|
|
|
|
};
|
|
|
|
}
|