From 7abd2c69dc88d786044d6d9c4da550c129d2b8da Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 11:57:25 +0000 Subject: [PATCH] easy-file: init at 0.2.2 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/easy-file.nix | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 pkgs/easy-file.nix diff --git a/manifest.dhall b/manifest.dhall index c3541c08..839c16a4 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -235,6 +235,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/haskell/double-conversion" (None Text) (None Text) + , callHackage "easy-file" "0.2.2" , callHackage "echo" "0.1.4" , callCabal2nix "ed25519" diff --git a/overlay.nix b/overlay.nix index 9e5952d5..0a26ab29 100644 --- a/overlay.nix +++ b/overlay.nix @@ -299,6 +299,8 @@ self: with pkgs.haskell.lib; { double-conversion = self.callPackage (./pkgs/double-conversion.nix) { }; + easy-file = self.callPackage (./pkgs/easy-file.nix) { }; + echo = self.callPackage (./pkgs/echo.nix) { }; ed25519 = self.callPackage (./pkgs/ed25519.nix) { }; diff --git a/pkgs/easy-file.nix b/pkgs/easy-file.nix new file mode 100644 index 00000000..b87f6344 --- /dev/null +++ b/pkgs/easy-file.nix @@ -0,0 +1,21 @@ +{ mkDerivation, base, directory, filepath, lib, time, unix }: +mkDerivation { + pname = "easy-file"; + version = "0.2.2"; + sha256 = "52f52e72ba48d60935932401c233a72bf45c582871238aecc5a18021ce67b47e"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base directory filepath time unix ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://github.com/kazu-yamamoto/easy-file"; + description = "Cross-platform File handling"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab