2021-05-08 23:55:23 +01:00
|
|
|
{ stdenv, lib, cmake, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "filesystem";
|
2022-04-04 14:28:41 +01:00
|
|
|
version = "1.5.12";
|
2021-05-08 23:55:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gulrak";
|
|
|
|
repo = "filesystem";
|
|
|
|
rev = "v${version}";
|
2022-04-04 14:28:41 +01:00
|
|
|
hash = "sha256-j4RE5Ach7C7Kef4+H9AHSXa2L8OVyJljDwBduKcC4eE=";
|
2021-05-08 23:55:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "header-only single-file C++ std::filesystem compatible helper library";
|
|
|
|
homepage = "https://github.com/gulrak/filesystem";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lourkeur ];
|
|
|
|
};
|
|
|
|
}
|