2022-06-26 10:26:21 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "monocypher";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "4.0.2";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://monocypher.org/download/monocypher-${version}.tar.gz";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-ONBxeXOMDJBnfbo863p7hJa8/qdYuhpT6AP+0wrgh5w=";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|