Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 22 lines 590 B view raw
1{ stdenv, cmake, fetchFromGitHub, lib }: let 2 version = "1.2.3"; 3in stdenv.mkDerivation { 4 name = "stduuid-${version}"; 5 6 src = fetchFromGitHub { 7 owner = "mariusbancila"; 8 repo = "stduuid"; 9 rev = "v${version}"; 10 hash = "sha256-MhpKv+gH3QxiaQMx5ImiQjDGrbKUFaaoBLj5Voh78vg="; 11 }; 12 13 nativeBuildInputs = [ cmake ]; 14 15 meta = { 16 description = "A C++17 cross-platform implementation for UUIDs"; 17 license = lib.licenses.mit; 18 maintainers = [ lib.maintainers.shlevy ]; 19 homepage = "https://github.com/mariusbancila/stduuid"; 20 platforms = lib.platforms.all; 21 }; 22}