Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
870 B
Nix
Raw Permalink Normal View History

2024-12-12 09:31:26 +00:00
{
lib,
buildNimSbom,
fetchFromGitea,
}:
buildNimSbom (finalAttrs: {
src = fetchFromGitea {
domain = "git.syndicate-lang.org";
owner = "ehmry";
repo = "preserves-nim";
rev = finalAttrs.version;
2024-12-12 09:31:26 +00:00
hash = "sha256-A1v72ToSLEEUZTNcPl82t8OKvr5heQCWVWYEJh362Eo=";
};
# Tests requires balls which is not listed in the lockfilee.
doCheck = false;
postInstall = ''
pushd $out/bin
for link in preserves-decode \
preserves-from-json preserves-to-json \
preserves-from-xml preserves-to-xml
do ln -s preserves-encode $link
done
popd
'';
meta = {
description = "Utilities for working with Preserves documents and schemas";
license = lib.licenses.unlicense;
homepage = "https://git.syndicate-lang.org/ehmry/preserves-nim";
maintainers = with lib.maintainers; [ ehmry ];
};
}) ./sbom.json