567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
27 lines
506 B
Nix
27 lines
506 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 = {
|
|
homepage = "https://github.com/Lysxia/pure-splitmix";
|
|
description = "Purely functional splittable PRNG";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
};
|
|
}
|