blob: f5e0cad7a02e96180c6f1d82db0149da11b880c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ lib, buildNimPackage, fetchFromGitHub }:
buildNimPackage (finalAttrs: {
pname = "c2nim";
version = "0.9.19";
src = fetchFromGitHub {
owner = "nim-lang";
repo = "c2nim";
rev = finalAttrs.version;
hash = "sha256-E8sAhTFIWAnlfWyuvqK8h8g7Puf5ejLEqgLNb5N17os=";
};
meta = finalAttrs.src.meta // {
description = "Tool to translate Ansi C code to Nim";
mainProgram = "c2nim";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ehmry ];
};
})
|