2023-08-10 07:59:29 +00:00
|
|
|
{ pkgs, lib, fetchFromGitHub, gerbilPackages, ... }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
{
|
2020-08-20 17:08:02 +00:00
|
|
|
pname = "gerbil-crypto";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "unstable-2023-11-29";
|
|
|
|
git-version = "0.1-1-g4197bfa";
|
2020-08-20 17:08:02 +00:00
|
|
|
gerbil-package = "clan/crypto";
|
2023-08-10 07:59:29 +00:00
|
|
|
gerbilInputs = with gerbilPackages; [ gerbil-utils gerbil-poo ];
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
2023-08-10 07:59:29 +00:00
|
|
|
buildInputs = [ pkgs.secp256k1 ];
|
2020-08-20 17:08:02 +00:00
|
|
|
version-path = "version";
|
|
|
|
softwareName = "Gerbil-crypto";
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
pre-src = {
|
|
|
|
fun = fetchFromGitHub;
|
2023-10-19 13:55:26 +00:00
|
|
|
owner = "mighty-gerbils";
|
2020-08-20 17:08:02 +00:00
|
|
|
repo = "gerbil-crypto";
|
2024-01-02 11:29:13 +00:00
|
|
|
rev = "4197bfa71dc55657f79efd5cc21fe59839e840f2";
|
|
|
|
sha256 = "1jdfz5x24dfvpwyfxalkhv83gf9ylyaqii1kg8rjl8dzickawrix";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
description = "Gerbil Crypto: Extra Cryptographic Primitives for Gerbil";
|
|
|
|
homepage = "https://github.com/fare/gerbil-crypto";
|
2023-08-10 07:59:29 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ fare ];
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|