1{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
2
3stdenv.mkDerivation rec {
4 pname = "iodash";
5 version = "0.1.7";
6
7 src = fetchFromGitHub {
8 owner = "YukiWorkshop";
9 repo = "IODash";
10 rev = "9dcb26621a9c17dbab704b5bab0c3a5fc72624cb";
11 sha256 = "0db5y2206fwh3h1pzjm9hy3m76inm0xpm1c5gvrladz6hiqfp7bx";
12 fetchSubmodules = true;
13 };
14 # adds missing cmake install directives
15 # https://github.com/YukiWorkshop/IODash/pull/2
16 patches = [ ./0001-Add-cmake-install-directives.patch];
17
18 nativeBuildInputs = [ cmake pkg-config ];
19
20 meta = with lib; {
21 homepage = "https://github.com/YukiWorkshop/IODash";
22 description = "Lightweight C++ I/O library for POSIX operation systems";
23 license = licenses.mit;
24 maintainers = with maintainers; [ jappie ];
25 platforms = with platforms; linux;
26 };
27}