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