31 lines
859 B
Nix
31 lines
859 B
Nix
{ lib, buildNimPackage, fetchFromGitea, pkg-config
|
|
|
|
, postgresql, sqlite, libxml2, libxslt }:
|
|
|
|
let
|
|
version = "20240407";
|
|
src = fetchFromGitea {
|
|
domain = "git.syndicate-lang.org";
|
|
owner = "ehmry";
|
|
repo = "syndicate_utils";
|
|
rev = version;
|
|
hash = "sha256-MFoN/2+fOsnJ9fX+5Adj7BDhBcbvh/bIOMnj9vIoq9A=";
|
|
};
|
|
in buildNimPackage (finalAttrs:
|
|
{ buildInputs ? [ ], ... }: {
|
|
pname = "syndicate_utils";
|
|
inherit version src;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = buildInputs ++ [ postgresql sqlite libxml2 libxslt ];
|
|
|
|
lockFile = "${src}/lock.json";
|
|
|
|
meta = src.meta // {
|
|
description = "Utilities for the Syndicated Actor Model";
|
|
homepage = "https://git.syndicate-lang.org/ehmry/syndicate_utils";
|
|
maintainers = [ lib.maintainers.ehmry ];
|
|
license = lib.licenses.unlicense;
|
|
};
|
|
})
|