nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, lib, cmake, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 pname = "filesystem";
5 version = "1.5.12";
6
7 src = fetchFromGitHub {
8 owner = "gulrak";
9 repo = "filesystem";
10 rev = "v${version}";
11 hash = "sha256-j4RE5Ach7C7Kef4+H9AHSXa2L8OVyJljDwBduKcC4eE=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 meta = with lib; {
17 description = "header-only single-file C++ std::filesystem compatible helper library";
18 homepage = "https://github.com/gulrak/filesystem";
19 license = licenses.mit;
20 maintainers = with maintainers; [ lourkeur ];
21 };
22}