nimPackages.c2nim: init 0.9.18

This commit is contained in:
Emery Hemingway 2021-09-15 17:13:51 +02:00
parent 35de51aa26
commit bea75890b7
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ lib, buildNimPackage, fetchFromGitHub, SDL2 }:
buildNimPackage rec {
pname = "c2nim";
version = "0.9.18";
nimBinOnly = true;
src = fetchFromGitHub {
owner = "nim-lang";
repo = pname;
rev = version;
hash = "sha256-127ux36mfC+PnS2HIQffw+z0TSvzdQXnKRxqYV3XahU=";
};
meta = with lib;
src.meta // {
description = "Tool to translate Ansi C code to Nim";
license = licenses.mit;
maintainers = [ maintainers.ehmry ];
};
}

View File

@ -16,6 +16,8 @@ lib.makeScope newScope (self:
chroma = callPackage ../development/nim-packages/chroma { };
c2nim = callPackage ../development/nim-packages/c2nim { };
docopt = callPackage ../development/nim-packages/docopt { };
flatty = callPackage ../development/nim-packages/flatty { };