diff options
author | Emery Hemingway <ehmry@posteo.net> | 2023-10-31 16:17:56 +0000 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-11-28 16:48:10 +0200 |
commit | 6df86cc655a99e9db0569b53054b20404b4eacba (patch) | |
tree | 61c2ef3ea7cf4bdd7a285fe3da51576c7c320ea2 /pkgs/by-name/c2 | |
parent | 0f2dc695198d4bdaaecf1b29d878a390b7eb3646 (diff) |
c2nim: move out of nimPackages
Diffstat (limited to 'pkgs/by-name/c2')
-rw-r--r-- | pkgs/by-name/c2/c2nim/package.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/by-name/c2/c2nim/package.nix b/pkgs/by-name/c2/c2nim/package.nix new file mode 100644 index 0000000000000..2212cb5879edc --- /dev/null +++ b/pkgs/by-name/c2/c2nim/package.nix @@ -0,0 +1,17 @@ +{ 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 ]; + }; +}) |