depot/third_party/nixpkgs/pkgs/by-name/c2/c2nim/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

17 lines
473 B
Nix

{ lib, buildNimPackage, fetchFromGitHub }:
buildNimPackage (finalAttrs: {
pname = "c2nim";
version = "0.9.19";
src = fetchFromGitHub {
owner = "nim-lang";
repo = finalAttrs.pname;
rev = finalAttrs.version;
hash = "sha256-E8sAhTFIWAnlfWyuvqK8h8g7Puf5ejLEqgLNb5N17os=";
};
meta = finalAttrs.src.meta // {
description = "Tool to translate Ansi C code to Nim";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ehmry ];
};
})