nimPackages.syndicate: 20230530 -> 20230801

This commit is contained in:
Emery Hemingway 2023-08-02 15:39:28 +01:00
parent 132231963c
commit 063b870663
2 changed files with 16 additions and 15 deletions

View file

@ -1,21 +1,21 @@
{ lib, stdenv, buildNimPackage, fetchFromGitea, nim-unwrapped, npeg }: { lib, stdenv, buildNimPackage, fetchFromGitea, nim-unwrapped, npeg }:
buildNimPackage rec { buildNimPackage (final: prev: {
pname = "preserves"; pname = "preserves";
version = "20230530"; version = "20230801";
src = fetchFromGitea { src = fetchFromGitea {
domain = "git.syndicate-lang.org"; domain = "git.syndicate-lang.org";
owner = "ehmry"; owner = "ehmry";
repo = "${pname}-nim"; repo = "preserves-nim";
rev = version; rev = final.version;
hash = "sha256-IRIBGjv4po8VyL873v++ovqz8Vg6a9Qbh/M1fxpQXvY="; hash = "sha256-60QsbXMYYfEWvXQAXu7XSpvg2J9YaGKDkDrfclcK6pc=";
}; };
propagatedBuildInputs = [ npeg ]; propagatedBuildInputs = [ npeg ];
nimFlags = [ "--path:${nim-unwrapped}/nim" ]; nimFlags = [ "--mm:refc" "--path:${nim-unwrapped}/nim" "--threads:off" ];
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
meta = src.meta // { meta = final.src.meta // {
description = "Nim implementation of the Preserves data language"; description = "Nim implementation of the Preserves data language";
license = lib.licenses.unlicense; license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ ehmry ]; maintainers = with lib.maintainers; [ ehmry ];
}; };
} })

View file

@ -1,19 +1,20 @@
{ lib, buildNimPackage, fetchFromGitea, hashlib, preserves }: { lib, buildNimPackage, fetchFromGitea, hashlib, preserves }:
buildNimPackage rec { buildNimPackage (final: prev: {
pname = "syndicate"; pname = "syndicate";
version = "20230530"; version = "20230801";
src = fetchFromGitea { src = fetchFromGitea {
domain = "git.syndicate-lang.org"; domain = "git.syndicate-lang.org";
owner = "ehmry"; owner = "ehmry";
repo = "${pname}-nim"; repo = "syndicate-nim";
rev = version; rev = final.version;
hash = "sha256-lUHoMSQwUlz9EDMvpFL9GlrwbwMvZDILSmuakONwe50="; hash = "sha256-/mZGWVdQ5FtZf2snPIjTG2tNFVzxQmxvkKuLCAGARYs=";
}; };
propagatedBuildInputs = [ hashlib preserves ]; propagatedBuildInputs = [ hashlib preserves ];
meta = src.meta // { nimFlags = [ "--mm:refc" "--threads:off" ];
meta = final.src.meta // {
description = "Nim implementation of the Syndicated Actor model"; description = "Nim implementation of the Syndicated Actor model";
license = lib.licenses.unlicense; license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ ehmry ]; maintainers = with lib.maintainers; [ ehmry ];
}; };
} })