nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 796 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 prelude, 6 alcotest, 7}: 8 9buildDunePackage (finalAttrs: { 10 pname = "synchronizer"; 11 version = "0.2"; 12 13 minimalOCamlVersion = "5.2"; 14 15 src = fetchFromGitHub { 16 owner = "OCamlPro"; 17 repo = "synchronizer"; 18 tag = finalAttrs.version; 19 hash = "sha256-0XtPHpDlyH1h8W2ZlRvJbZjCN9WP5mzk2N01WFd8eLQ="; 20 }; 21 22 propagatedBuildInputs = [ 23 prelude 24 ]; 25 26 checkInputs = [ 27 alcotest 28 ]; 29 30 meta = { 31 homepage = "https://github.com/OCamlPro/synchronizer"; 32 description = "Synchronizer to make datastructures thread-safe"; 33 changelog = "https://raw.githubusercontent.com/OCamlPro/synchronizer/${finalAttrs.src.rev}/CHANGES.md"; 34 license = lib.licenses.agpl3Plus; 35 maintainers = with lib.maintainers; [ redianthus ]; 36 }; 37})