2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, pkgs }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
version = "0.4.0";
|
|
|
|
pname = "ecdsautils";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "freifunk-gluon";
|
|
|
|
repo = "ecdsautils";
|
|
|
|
rev = "07538893fb6c2a9539678c45f9dbbf1e4f222b46";
|
|
|
|
sha256 = "18sr8x3qiw8s9l5pfi7r9i3ayplz4jqdml75ga9y933vj7vs0k4d";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = with pkgs; [ cmake pkg-config doxygen ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = with pkgs; [ libuecc ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tiny collection of programs used for ECDSA (keygen, sign, verify)";
|
|
|
|
homepage = "https://github.com/tcatm/ecdsautils/";
|
|
|
|
license = with licenses; [ mit bsd2 ];
|
|
|
|
maintainers = with maintainers; [ andir ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|