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

View file

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