Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
22 lines
453 B
Nix
22 lines
453 B
Nix
{
|
|
lib,
|
|
buildNimPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildNimPackage (finalAttrs: {
|
|
pname = "c2nim";
|
|
version = "0.9.19";
|
|
src = fetchFromGitHub {
|
|
owner = "nim-lang";
|
|
repo = "c2nim";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-E8sAhTFIWAnlfWyuvqK8h8g7Puf5ejLEqgLNb5N17os=";
|
|
};
|
|
meta = finalAttrs.src.meta // {
|
|
description = "Tool to translate Ansi C code to Nim";
|
|
mainProgram = "c2nim";
|
|
license = lib.licenses.mit;
|
|
};
|
|
})
|