2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, pkgs }:
|
2017-10-28 16:39:56 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2017-10-28 16:39:56 +01:00
|
|
|
version = "0.4.0";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ecdsautils";
|
2017-10-28 16:39:56 +01:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
2019-01-09 21:20:19 +00:00
|
|
|
owner = "freifunk-gluon";
|
2017-10-28 16:39:56 +01:00
|
|
|
repo = "ecdsautils";
|
|
|
|
rev = "07538893fb6c2a9539678c45f9dbbf1e4f222b46";
|
|
|
|
sha256 = "18sr8x3qiw8s9l5pfi7r9i3ayplz4jqdml75ga9y933vj7vs0k4d";
|
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = with pkgs; [ cmake pkg-config doxygen ];
|
2017-10-28 16:39:56 +01:00
|
|
|
buildInputs = with pkgs; [ libuecc ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-10-28 16:39:56 +01:00
|
|
|
description = "Tiny collection of programs used for ECDSA (keygen, sign, verify)";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/tcatm/ecdsautils/";
|
2017-10-28 16:39:56 +01:00
|
|
|
license = with licenses; [ mit bsd2 ];
|
|
|
|
maintainers = with maintainers; [ andir ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|