nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5}:
6
7buildDunePackage rec {
8 pname = "pure-splitmix";
9 version = "0.3";
10
11 src = fetchFromGitHub {
12 owner = "Lysxia";
13 repo = pname;
14 rev = version;
15 sha256 = "RUnsAB4hMV87ItCyGhc47bHGY1iOwVv9kco2HxnzqbU=";
16 };
17
18 doCheck = true;
19
20 meta = {
21 homepage = "https://github.com/Lysxia/pure-splitmix";
22 description = "Purely functional splittable PRNG";
23 license = lib.licenses.mit;
24 maintainers = [ lib.maintainers.ulrikstrid ];
25 };
26}