2024-01-02 11:29:13 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildNimPackage (finalAttrs: {
|
|
|
|
pname = "c2nim";
|
|
|
|
version = "0.9.19";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nim-lang";
|
2024-07-27 06:49:29 +00:00
|
|
|
repo = "c2nim";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-E8sAhTFIWAnlfWyuvqK8h8g7Puf5ejLEqgLNb5N17os=";
|
|
|
|
};
|
|
|
|
meta = finalAttrs.src.meta // {
|
|
|
|
description = "Tool to translate Ansi C code to Nim";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "c2nim";
|
2024-01-02 11:29:13 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.ehmry ];
|
|
|
|
};
|
|
|
|
})
|