2022-01-03 16:56:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2022-08-21 13:32:41 +00:00
|
|
|
, scdoc
|
2022-01-03 16:56:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pipectl";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.4.2";
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ferdi265";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-Ixch5iyeIjx+hSvln8L0N8pXG7ordpsFVroqZPUzAG0=";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
|
2022-08-21 13:32:41 +00:00
|
|
|
nativeBuildInputs = [ cmake scdoc ];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DINSTALL_DOCUMENTATION=ON"
|
|
|
|
];
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Ferdi265/pipectl";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
description = "a simple named pipe management utility";
|
|
|
|
maintainers = with maintainers; [ synthetica ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "pipectl";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
}
|