2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
23 lines
581 B
Nix
23 lines
581 B
Nix
{ lib, stdenv, fetchurl, fetchpatch }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "monocypher";
|
|
version = "4.0.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://monocypher.org/download/monocypher-${version}.tar.gz";
|
|
hash = "sha256-ONBxeXOMDJBnfbo863p7hJa8/qdYuhpT6AP+0wrgh5w=";
|
|
};
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Boring crypto that simply works";
|
|
homepage = "https://monocypher.org";
|
|
license = with licenses; [ bsd2 cc0 ];
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
};
|
|
}
|