summary refs log tree commit diff
path: root/pkgs/development/libraries/iodash/default.nix
diff options
context:
space:
mode:
authorJappie Klooster <jappieklooster@hotmail.com>2021-04-02 11:06:49 -0400
committerJappie Klooster <jappieklooster@hotmail.com>2021-04-03 11:02:10 -0400
commit93f9883a054b299400654adfa2851183f8648f00 (patch)
tree689324fac5d93f914d4878ee73ac486edc108f09 /pkgs/development/libraries/iodash/default.nix
parent6401be45a936dfe23256dcd29547a76047f8c18b (diff)
iodash: init at 0.1.7
IODash is required to build the latest
version of ydotool.

I'm sure as a library it has many other use
cases. It seems to be a contender towards
the well known boost library.

This init points to a temporary fork which makes
it build. The install directive was missing.
I'm intending to upstream this change if I can.
Or otherwise make this a permanent fork.

Point iodash to the right version

Add comment in iodash on repo change

Fix undefined variable src

Remove jappie from maintainer list

Update pkgs/development/libraries/iodash/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/development/libraries/iodash/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Update pkgs/development/libraries/iodash/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

Fix dangling in

Format patch for IODash
Diffstat (limited to 'pkgs/development/libraries/iodash/default.nix')
-rw-r--r--pkgs/development/libraries/iodash/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/libraries/iodash/default.nix b/pkgs/development/libraries/iodash/default.nix
new file mode 100644
index 0000000000000..d8982f0f8c046
--- /dev/null
+++ b/pkgs/development/libraries/iodash/default.nix
@@ -0,0 +1,27 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
+
+stdenv.mkDerivation rec {
+  pname = "iodash";
+  version = "0.1.7";
+
+  src  = fetchFromGitHub {
+    owner  = "YukiWorkshop";
+    repo   = "IODash";
+    rev    = "9dcb26621a9c17dbab704b5bab0c3a5fc72624cb";
+    sha256 = "0db5y2206fwh3h1pzjm9hy3m76inm0xpm1c5gvrladz6hiqfp7bx";
+    fetchSubmodules = true;
+  };
+  # adds missing cmake install directives
+  # https://github.com/YukiWorkshop/IODash/pull/2
+  patches = [ ./0001-Add-cmake-install-directives.patch];
+
+  nativeBuildInputs = [ cmake pkg-config ];
+
+  meta = with lib; {
+    homepage = "https://github.com/YukiWorkshop/IODash";
+    description = "Lightweight C++ I/O library for POSIX operation systems";
+    license = licenses.mit;
+    maintainers = with maintainers; [ jappie ];
+    platforms = with platforms; linux;
+  };
+}