22 lines
501 B
Nix
22 lines
501 B
Nix
{ lib, fetchFromGitHub, buildDunePackage }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pure-splitmix";
|
|
version = "0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Lysxia";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "RUnsAB4hMV87ItCyGhc47bHGY1iOwVv9kco2HxnzqbU=";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Lysxia/pure-splitmix";
|
|
description = "Purely functional splittable PRNG";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.ulrikstrid ];
|
|
};
|
|
}
|