diff --git a/flake.nix b/flake.nix index e528b37..e22ca18 100644 --- a/flake.nix +++ b/flake.nix @@ -26,6 +26,7 @@ final.nimPackages.callPackage ./packages/libnotify_actor { }; nimPackages = prev.nimPackages.overrideScope' (final': prev': { + noiseprotocol = final'.callPackage ./packages/nim/noiseprotocol { }; preserves = final'.callPackage ./packages/preserves-nim { }; syndicate = final'.callPackage ./packages/syndicate-nim { }; syndicate_utils = diff --git a/packages/nim/noiseprotocol/default.nix b/packages/nim/noiseprotocol/default.nix new file mode 100644 index 0000000..a92498f --- /dev/null +++ b/packages/nim/noiseprotocol/default.nix @@ -0,0 +1,15 @@ +{ lib, buildNimPackage, noise-c }: + +buildNimPackage rec { + pname = "noise"; + version = "20230509"; + + src = null; + + propagatedBuildInputs = [ noise-c ]; + + meta = { + inherit (noise-c.meta) license; + maintainers = [ lib.maintainers.ehmry ]; + }; +}