Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
915 B
Nix

{
pkgs,
lib,
fetchFromGitHub,
gerbilPackages,
...
}:
{
pname = "gerbil-crypto";
version = "unstable-2023-11-29";
git-version = "0.1-1-g4197bfa";
gerbil-package = "clan/crypto";
gerbilInputs = with gerbilPackages; [
gerbil-utils
gerbil-poo
];
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.secp256k1 ];
version-path = "version";
softwareName = "Gerbil-crypto";
pre-src = {
fun = fetchFromGitHub;
owner = "mighty-gerbils";
repo = "gerbil-crypto";
rev = "4197bfa71dc55657f79efd5cc21fe59839e840f2";
sha256 = "1jdfz5x24dfvpwyfxalkhv83gf9ylyaqii1kg8rjl8dzickawrix";
};
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 ];
};
}