mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
29 lines
760 B
Nix
29 lines
760 B
Nix
{stdenv, fetchurl}:
|
|
let
|
|
s = # Generated upstream information
|
|
rec {
|
|
baseName="sodium";
|
|
version="1.0.1";
|
|
name="${baseName}-${version}";
|
|
hash="1x9src824c3ansgvnphhnnnnyrd0spspf7hwmxijv7pglj3hh2f3";
|
|
url="http://download.dnscrypt.org/libsodium/releases/libsodium-1.0.1.tar.gz";
|
|
sha256="1x9src824c3ansgvnphhnnnnyrd0spspf7hwmxijv7pglj3hh2f3";
|
|
};
|
|
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;
|
|
};
|
|
}
|