depot/third_party/nixpkgs/pkgs/tools/security/ecdsautils/default.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02:00

27 lines
684 B
Nix

{ lib, stdenv, pkgs }:
let
pname = "ecdsautils";
version = "0.4.2";
in
stdenv.mkDerivation {
inherit pname version;
src = pkgs.fetchFromGitHub {
owner = "freifunk-gluon";
repo = pname;
rev = "v${version}";
sha256 = "sha256-vGHLAX/XOtePvdT/rljCOdlILHVO20mCt6p+MUi13dg=";
};
nativeBuildInputs = with pkgs; [ cmake pkg-config doxygen ];
buildInputs = with pkgs; [ libuecc ];
meta = with lib; {
description = "Tiny collection of programs used for ECDSA (keygen, sign, verify)";
homepage = "https://github.com/freifunk-gluon/ecdsautils/";
license = with licenses; [ mit bsd2 ];
maintainers = [ ];
platforms = platforms.unix;
};
}