Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
844 B
Nix
37 lines
844 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
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;
|
|
};
|
|
}
|