1{ lib, stdenv, fetchFromGitLab, meson, pkg-config, ninja, cairo }:
2
3stdenv.mkDerivation rec {
4 pname = "pscircle";
5 version = "1.4.0";
6
7 src = fetchFromGitLab {
8 owner = "mildlyparallel";
9 repo = "pscircle";
10 rev = "v${version}";
11 sha256 = "sha256-bqbQBNscNfoqXprhoFUnUQO88YQs9xDhD4d3KHamtG0=";
12 };
13
14 nativeBuildInputs = [
15 meson
16 pkg-config
17 ninja
18 ];
19
20 buildInputs = [
21 cairo
22 ];
23
24 meta = with lib; {
25 homepage = "https://gitlab.com/mildlyparallel/pscircle";
26 description = "Visualize Linux processes in a form of a radial tree";
27 license = licenses.gpl2;
28 maintainers = [ maintainers.ldesgoui ];
29 platforms = platforms.linux;
30 };
31}