depot/third_party/nixpkgs/pkgs/development/libraries/crossguid/default.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

26 lines
765 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, libuuid, unstableGitUpdater }:
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;
passthru.updateScript = unstableGitUpdater { };
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;
};
}