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