mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
20 lines
471 B
Nix
20 lines
471 B
Nix
{ 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 ];
|
|
};
|
|
}
|