From 89b00d80f6e399284d625066c34dcf7d67f9e64e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 25 Nov 2024 10:52:26 -0600 Subject: [PATCH] add procs --- pkgs/default.nix | 1 + pkgs/nim/procs/default.nix | 15 +++++++++++++++ pkgs/nim/procs/lock.json | 16 ++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 pkgs/nim/procs/default.nix create mode 100644 pkgs/nim/procs/lock.json diff --git a/pkgs/default.nix b/pkgs/default.nix index ed0ebfb..0116e05 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -5,6 +5,7 @@ in { nph = pkgs.callPackage ./nim/nph { }; # nimlangserver = pkgs.callPackage ./nim/nimlangserver { }; + procs = pkgs.callPackage ./nim/procs { }; nimble = pkgs.callPackage ./nim/nimble { }; distrobox = pkgs.callPackage ./distrobox { }; diff --git a/pkgs/nim/procs/default.nix b/pkgs/nim/procs/default.nix new file mode 100644 index 0000000..4c32c58 --- /dev/null +++ b/pkgs/nim/procs/default.nix @@ -0,0 +1,15 @@ +{ fetchFromGitHub, buildNimPackage }: +buildNimPackage( finalAttrs: { + pname = "procs"; + version = "0.7.3"; + src = fetchFromGitHub { + owner = "c-blake"; + repo = "procs"; + rev = finalAttrs.version; + hash = "sha256-TlR3eOPI6ed0EbGUdSdDYaYKippiFOspSWkv2JePR4M="; + }; + + doCheck = false; + lockFile = ./lock.json; +} +) diff --git a/pkgs/nim/procs/lock.json b/pkgs/nim/procs/lock.json new file mode 100644 index 0000000..94a2b8c --- /dev/null +++ b/pkgs/nim/procs/lock.json @@ -0,0 +1,16 @@ +{ + "depends": [ + { + "method": "fetchzip", + "path": "/nix/store/xhjd99w42nrbi93czwqrpiqk75am3dcn-source", + "rev": "e274362fc12dff368aeacd982112385f59fc8c49", + "sha256": "19d8na1qnq80y0zwrsq3a99dnxir1c9vjg6h355cm15l4wgad2c8", + "srcDir": "", + "url": "https://github.com/c-blake/cligen/archive/e274362fc12dff368aeacd982112385f59fc8c49.tar.gz", + "subDir": "", + "packages": [ + "cligen" + ] + } + ] +}