diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/ecdsautils/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/ecdsautils/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/ecdsautils/default.nix b/nixpkgs/pkgs/tools/security/ecdsautils/default.nix new file mode 100644 index 000000000000..6bdac96811a0 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/ecdsautils/default.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, pkgs }: + +stdenv.mkDerivation { + version = "0.4.0"; + pname = "ecdsautils"; + + src = pkgs.fetchFromGitHub { + owner = "freifunk-gluon"; + repo = "ecdsautils"; + rev = "07538893fb6c2a9539678c45f9dbbf1e4f222b46"; + sha256 = "18sr8x3qiw8s9l5pfi7r9i3ayplz4jqdml75ga9y933vj7vs0k4d"; + }; + + 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/tcatm/ecdsautils/"; + license = with licenses; [ mit bsd2 ]; + maintainers = with maintainers; [ ]; + platforms = platforms.unix; + }; +} |