about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/stduuid/default.nix
blob: c7e31c99008778c4a249a540ccdb12fd36e217e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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;
  };
}