2021-09-15 15:13:51 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub, SDL2 }:
|
|
|
|
|
|
|
|
buildNimPackage rec {
|
|
|
|
pname = "c2nim";
|
2022-12-12 20:12:04 +00:00
|
|
|
version = "0.9.19";
|
2021-09-15 15:13:51 +00:00
|
|
|
nimBinOnly = true;
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nim-lang";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-12-12 20:12:04 +00:00
|
|
|
hash = "sha256-E8sAhTFIWAnlfWyuvqK8h8g7Puf5ejLEqgLNb5N17os=";
|
2021-09-15 15:13:51 +00:00
|
|
|
};
|
|
|
|
meta = with lib;
|
|
|
|
src.meta // {
|
|
|
|
description = "Tool to translate Ansi C code to Nim";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ehmry ];
|
|
|
|
};
|
|
|
|
}
|