depot/third_party/nixpkgs/pkgs/tools/security/mkrand/default.nix

22 lines
591 B
Nix
Raw Normal View History

{ 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 = "A Digital Random Bit Generator";
longDescription = "MKRAND is a utility for generating random information.";
homepage = "https://github.com/mknight-tag/MKRAND/";
license = lib.licenses.mit;
platforms = lib.platforms.all;
};
}