summary refs log tree commit diff
path: root/pkgs/development/libraries/ghc_filesystem
diff options
context:
space:
mode:
author(cdep)illabout <cdep.illabout@gmail.com>2021-05-20 10:08:26 +0900
committer(cdep)illabout <cdep.illabout@gmail.com>2021-05-20 10:08:26 +0900
commit408d7aabb477f3f9d3ed0441a00833e2c1b72ca8 (patch)
tree46c04d61df249c86927fdede4ec1a26f01f5bffb /pkgs/development/libraries/ghc_filesystem
parent0eb2dc5d7b987499e75cdea61693bb91358c63e6 (diff)
parent7fe78d4f9efc88e5c6a4b9591bd8b41fee656df6 (diff)
downloadnixpkgs-408d7aabb477f3f9d3ed0441a00833e2c1b72ca8.tar
nixpkgs-408d7aabb477f3f9d3ed0441a00833e2c1b72ca8.tar.gz
nixpkgs-408d7aabb477f3f9d3ed0441a00833e2c1b72ca8.tar.bz2
nixpkgs-408d7aabb477f3f9d3ed0441a00833e2c1b72ca8.tar.lz
nixpkgs-408d7aabb477f3f9d3ed0441a00833e2c1b72ca8.tar.xz
nixpkgs-408d7aabb477f3f9d3ed0441a00833e2c1b72ca8.tar.zst
nixpkgs-408d7aabb477f3f9d3ed0441a00833e2c1b72ca8.zip
Merge remote-tracking branch 'origin/master' into haskell-updates
Diffstat (limited to 'pkgs/development/libraries/ghc_filesystem')
-rw-r--r--pkgs/development/libraries/ghc_filesystem/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ghc_filesystem/default.nix b/pkgs/development/libraries/ghc_filesystem/default.nix
new file mode 100644
index 00000000000..76cfc4fbce6
--- /dev/null
+++ b/pkgs/development/libraries/ghc_filesystem/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, lib, cmake, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "filesystem";
+  version = "1.5.4";
+
+  src = fetchFromGitHub {
+    owner = "gulrak";
+    repo = "filesystem";
+    rev = "v${version}";
+    hash = "sha256-SvNUzKoNiSIM0no+A0NUT6hmeUH9SzgLQLrC5XOC0Ho=";
+  };
+
+  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 ];
+  };
+}