at 24.05-pre 28 lines 693 B view raw
1{ lib, stdenv, pkgs }: 2 3stdenv.mkDerivation { 4 version = "0.0.1"; 5 pname = "ecdsatool"; 6 7 src = pkgs.fetchFromGitHub { 8 owner = "kaniini"; 9 repo = "ecdsatool"; 10 rev = "7c0b2c51e2e64d1986ab1dc2c57c2d895cc00ed1"; 11 sha256 = "08z9309znkhrjpwqd4ygvm7cd1ha1qbrnlzw64fr8704jrmx762k"; 12 }; 13 14 configurePhase = '' 15 ./autogen.sh 16 ./configure --prefix=$out 17 ''; 18 19 nativeBuildInputs = with pkgs; [openssl autoconf automake]; 20 buildInputs = with pkgs; [libuecc]; 21 22 meta = with lib; { 23 description = "Create and manipulate ECC NISTP256 keypairs"; 24 homepage = "https://github.com/kaniini/ecdsatool/"; 25 license = with licenses; [free]; 26 platforms = platforms.unix; 27 }; 28}