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-07-27 06:49:29 +00:00
|
|
|
version = "0.5.0";
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Ferdi265";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-uBKHGR4kv62EMOIT/K+WbvFtdJ0V5IbsxjwQvhUu9f8=";
|
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;
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Simple named pipe management utility";
|
2022-01-03 16:56:52 +00:00
|
|
|
maintainers = with maintainers; [ synthetica ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "pipectl";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
}
|