1 {lib, stdenv, fetchurl}:
3 let version = "1.6.2"; in
6 pname = "libossp-uuid";
10 url = "ftp://ftp.ossp.org/pkg/lib/uuid/uuid-${version}.tar.gz";
11 sha256= "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0";
16 ] ++ lib.optional stdenv.isFreeBSD "--with-pic";
18 patches = [ ./shtool.patch ];
21 homepage = "http://www.ossp.org/pkg/lib/uuid/";
22 description = "OSSP uuid ISO-C and C++ shared library";
25 OSSP uuid is a ISO-C:1999 application programming interface
26 (API) and corresponding command line interface (CLI) for the
27 generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122
28 compliant Universally Unique Identifier (UUID). It supports
29 DCE 1.1 variant UUIDs of version 1 (time and node based),
30 version 3 (name based, MD5), version 4 (random number based)
31 and version 5 (name based, SHA-1). Additional API bindings are
32 provided for the languages ISO-C++:1998, Perl:5 and
33 PHP:4/5. Optional backward compatibility exists for the ISO-C
34 DCE-1.1 and Perl Data::UUID APIs.
36 UUIDs are 128 bit numbers which are intended to have a high
37 likelihood of uniqueness over space and time and are
38 computationally difficult to guess. They are globally unique
39 identifiers which can be locally generated without contacting
40 a global registration authority. UUIDs are intended as unique
41 identifiers for both mass tagging objects with an extremely
42 short lifetime and to reliably identifying very persistent
43 objects across a network.
45 license = licenses.bsd2;
46 platforms = platforms.all;