nixpkgs/pkgs/development/libraries/sodium/default.nix

29 lines
760 B
Nix
Raw Normal View History

2013-03-07 06:59:03 +00:00
{stdenv, fetchurl}:
let
s = # Generated upstream information
rec {
baseName="sodium";
2014-12-20 21:30:24 +00:00
version="1.0.1";
2013-03-07 06:59:03 +00:00
name="${baseName}-${version}";
2014-12-20 21:30:24 +00:00
hash="1x9src824c3ansgvnphhnnnnyrd0spspf7hwmxijv7pglj3hh2f3";
url="http://download.dnscrypt.org/libsodium/releases/libsodium-1.0.1.tar.gz";
sha256="1x9src824c3ansgvnphhnnnnyrd0spspf7hwmxijv7pglj3hh2f3";
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;
};
}