2022-09-16 19:53:18 +00:00
|
|
|
{ stdenv, cmake, fetchFromGitHub, lib }: let
|
2023-03-09 22:06:57 +00:00
|
|
|
version = "1.2.3";
|
2022-09-16 19:53:18 +00:00
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "stduuid-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mariusbancila";
|
|
|
|
repo = "stduuid";
|
|
|
|
rev = "v${version}";
|
2023-03-09 22:06:57 +00:00
|
|
|
hash = "sha256-MhpKv+gH3QxiaQMx5ImiQjDGrbKUFaaoBLj5Voh78vg=";
|
2022-09-16 19:53:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|