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