2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, pkgs }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
let
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "ecdsautils";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "0.4.1";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit pname version;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "freifunk-gluon";
|
2022-05-18 14:49:53 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-dv0guQTmot5UO1GkMgzvD6uJFyum5kV89LI3xWS1DZA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
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)";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/freifunk-gluon/ecdsautils/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = with licenses; [ mit bsd2 ];
|
2022-01-19 23:45:15 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|