02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
24 lines
694 B
Nix
24 lines
694 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, libuuid }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "crossguid";
|
|
version = "unstable-2019-05-29";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "graeme-hill";
|
|
repo = pname;
|
|
rev = "ca1bf4b810e2d188d04cb6286f957008ee1b7681";
|
|
hash = "sha256-37tKPDo4lukl/aaDWWSQYfsBNEnDjE7t6OnEZjBhcvQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = lib.optional stdenv.isLinux libuuid;
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight cross platform C++ GUID/UUID library";
|
|
license = licenses.mit;
|
|
homepage = "https://github.com/graeme-hill/crossguid";
|
|
maintainers = with maintainers; [ lilyinstarlight ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|