depot/third_party/nixpkgs/pkgs/tools/security/mkrand/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

22 lines
617 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "mkrand";
version = "0.1.0";
src = fetchurl {
url = "https://github.com/mknight-tag/MKRAND/releases/download/v${version}/mkrand-${version}.tar.gz";
sha256 = "1irwyv2j5c3606k3qbq77yrd65y27rcq3jdlp295rz875q8iq9fs";
};
doCheck = true;
meta = {
description = "Digital Random Bit Generator";
mainProgram = "mkrand";
longDescription = "MKRAND is a utility for generating random information.";
homepage = "https://github.com/mknight-tag/MKRAND/";
license = lib.licenses.mit;
platforms = lib.platforms.all;
};
}