2023-08-04 22:07:22 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitea, hashlib, preserves }:
|
2023-03-15 16:39:30 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
buildNimPackage (final: prev: {
|
2023-03-15 16:39:30 +00:00
|
|
|
pname = "syndicate";
|
2023-08-22 20:05:09 +00:00
|
|
|
version = "20230801";
|
2023-03-15 16:39:30 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "git.syndicate-lang.org";
|
|
|
|
owner = "ehmry";
|
2023-08-22 20:05:09 +00:00
|
|
|
repo = "syndicate-nim";
|
|
|
|
rev = final.version;
|
|
|
|
hash = "sha256-/mZGWVdQ5FtZf2snPIjTG2tNFVzxQmxvkKuLCAGARYs=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
2023-08-04 22:07:22 +00:00
|
|
|
propagatedBuildInputs = [ hashlib preserves ];
|
2023-08-22 20:05:09 +00:00
|
|
|
nimFlags = [ "--mm:refc" "--threads:off" ];
|
|
|
|
meta = final.src.meta // {
|
2023-03-15 16:39:30 +00:00
|
|
|
description = "Nim implementation of the Syndicated Actor model";
|
|
|
|
license = lib.licenses.unlicense;
|
|
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
|
|
};
|
2023-08-22 20:05:09 +00:00
|
|
|
})
|