1{ lib, stdenv, fetchgit, cmake }:
2
3stdenv.mkDerivation rec {
4 version = "7";
5 pname = "libuecc";
6
7 src = fetchgit {
8 url = "git://git.universe-factory.net/libuecc";
9 rev = "refs/tags/v${version}";
10 sha256 = "1sm05aql75sh13ykgsv3ns4x4zzw9lvzid6misd22gfgf6r9n5fs";
11 };
12
13 nativeBuildInputs = [ cmake ];
14
15 meta = with lib; {
16 description = "Very small Elliptic Curve Cryptography library";
17 homepage = "https://git.universe-factory.net/libuecc";
18 license = licenses.bsd2;
19 platforms = platforms.unix;
20 maintainers = with maintainers; [ fpletz ];
21 };
22}