1 { lib, stdenv, fetchFromGitHub, cmake, libuuid }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2019-05-29";
7 src = fetchFromGitHub {
10 rev = "ca1bf4b810e2d188d04cb6286f957008ee1b7681";
11 hash = "sha256-37tKPDo4lukl/aaDWWSQYfsBNEnDjE7t6OnEZjBhcvQ=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = lib.optional stdenv.isLinux libuuid;
18 description = "Lightweight cross platform C++ GUID/UUID library";
19 license = licenses.mit;
20 homepage = "https://github.com/graeme-hill/crossguid";
21 maintainers = with maintainers; [ lilyinstarlight ];
22 platforms = platforms.unix;