5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
27 lines
684 B
Nix
27 lines
684 B
Nix
{ lib, stdenv, pkgs }:
|
|
|
|
let
|
|
pname = "ecdsautils";
|
|
version = "0.4.1";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit pname version;
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "freifunk-gluon";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-dv0guQTmot5UO1GkMgzvD6uJFyum5kV89LI3xWS1DZA=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|