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