2021-05-09 00:55:23 +02:00
|
|
|
{ stdenv, lib, cmake, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "filesystem";
|
2022-04-04 15:28:41 +02:00
|
|
|
version = "1.5.12";
|
2021-05-09 00:55:23 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gulrak";
|
|
|
|
repo = "filesystem";
|
|
|
|
rev = "v${version}";
|
2022-04-04 15:28:41 +02:00
|
|
|
hash = "sha256-j4RE5Ach7C7Kef4+H9AHSXa2L8OVyJljDwBduKcC4eE=";
|
2021-05-09 00:55:23 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|