Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 731 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 meson, 6 pkg-config, 7 ninja, 8 cairo, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "pscircle"; 13 version = "1.4.0"; 14 15 src = fetchFromGitLab { 16 owner = "mildlyparallel"; 17 repo = "pscircle"; 18 rev = "v${version}"; 19 hash = "sha256-bqbQBNscNfoqXprhoFUnUQO88YQs9xDhD4d3KHamtG0="; 20 }; 21 22 nativeBuildInputs = [ 23 meson 24 pkg-config 25 ninja 26 ]; 27 28 buildInputs = [ 29 cairo 30 ]; 31 32 meta = with lib; { 33 homepage = "https://gitlab.com/mildlyparallel/pscircle"; 34 description = "Visualize Linux processes in a form of a radial tree"; 35 mainProgram = "pscircle"; 36 license = licenses.gpl2Only; 37 maintainers = [ maintainers.ldesgoui ]; 38 platforms = platforms.linux; 39 }; 40}