depot/third_party/nixpkgs/pkgs/development/libraries/stduuid/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

22 lines
590 B
Nix

{ stdenv, cmake, fetchFromGitHub, lib }: let
version = "1.2.3";
in stdenv.mkDerivation {
name = "stduuid-${version}";
src = fetchFromGitHub {
owner = "mariusbancila";
repo = "stduuid";
rev = "v${version}";
hash = "sha256-MhpKv+gH3QxiaQMx5ImiQjDGrbKUFaaoBLj5Voh78vg=";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "A C++17 cross-platform implementation for UUIDs";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.shlevy ];
homepage = "https://github.com/mariusbancila/stduuid";
platforms = lib.platforms.all;
};
}