gerbilPackages-unstable.gerbil-crypto: init at 2020-08-01

This commit is contained in:
Francois-Rene Rideau 2020-06-16 19:35:42 -04:00
parent cc894c6d91
commit c9b05a3eb9
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ pkgs, lib, fetchFromGitHub, gerbil-unstable, gerbil-support, gambit-support }:
gerbil-support.gerbilPackage {
pname = "gerbil-crypto";
version = "unstable-2020-08-01";
git-version = "0.0-6-ga228862";
gerbil-package = "clan/crypto";
gerbil = gerbil-unstable;
gerbilInputs = [gerbil-support.gerbilPackages-unstable.gerbil-utils];
buildInputs = [pkgs.secp256k1 pkgs.pkg-config];
gambit-params = gambit-support.unstable-params;
version-path = "version";
softwareName = "Gerbil-crypto";
src = fetchFromGitHub {
owner = "fare";
repo = "gerbil-crypto";
rev = "a22886260849ec92c3a34bfeedc1574e41e49e33";
sha256 = "0qbanw2vnw2ymmr4pr1jap29cyc3icbhyq0apibpfnj2znns7w47";
};
meta = {
description = "Gerbil Crypto: Extra Cryptographic Primitives for Gerbil";
homepage = "https://github.com/fare/gerbil-crypto";
license = lib.licenses.asl20;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ fare ];
};
}

View file

@ -5,6 +5,7 @@ rec {
# Gerbil libraries
gerbilPackages-unstable = {
gerbil-utils = callPackage ./gerbil-utils.nix { };
gerbil-crypto = callPackage ./gerbil-crypto.nix { };
};
# Use this function in any package that uses Gerbil libraries, to define the GERBIL_LOADPATH.