nixpkgs/pkgs/os-specific/linux/pscircle/default.nix

33 lines
716 B
Nix

{ lib, stdenv, fetchFromGitLab, meson, pkg-config, ninja, cairo }:
stdenv.mkDerivation rec {
pname = "pscircle";
version = "1.4.0";
src = fetchFromGitLab {
owner = "mildlyparallel";
repo = "pscircle";
rev = "v${version}";
hash = "sha256-bqbQBNscNfoqXprhoFUnUQO88YQs9xDhD4d3KHamtG0=";
};
nativeBuildInputs = [
meson
pkg-config
ninja
];
buildInputs = [
cairo
];
meta = with lib; {
homepage = "https://gitlab.com/mildlyparallel/pscircle";
description = "Visualize Linux processes in a form of a radial tree";
mainProgram = "pscircle";
license = licenses.gpl2Only;
maintainers = [ maintainers.ldesgoui ];
platforms = platforms.linux;
};
}