mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
nimPackages.c2nim: init 0.9.18
This commit is contained in:
parent
35de51aa26
commit
bea75890b7
19
pkgs/development/nim-packages/c2nim/default.nix
Normal file
19
pkgs/development/nim-packages/c2nim/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user