Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.0 KiB
Nix

{
lib,
fetchFromGitHub,
nix,
python,
matplotlib,
networkx,
pandas,
pygraphviz,
setuptools,
}:
python.pkgs.buildPythonApplication {
version = "1.0.5-unstable-2024-01-17";
pname = "nix-visualize";
pyproject = true;
src = fetchFromGitHub {
owner = "craigmbooth";
repo = "nix-visualize";
rev = "5b9beae330ac940df56433d347494505e2038904";
hash = "sha256-VgEsR/Odddc7v6oq2tNcVwCYm08PhiqhZJueuEYCR0o=";
};
postInstall = ''
wrapProgram $out/bin/nix-visualize \
--prefix PATH : ${lib.makeBinPath [ nix ]}
'';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
matplotlib
networkx
pandas
pygraphviz
];
pythonImportsCheck = [ "nix_visualize" ];
# No tests
doCheck = false;
meta = with lib; {
description = "Generate dependency graphs of a given nix package";
mainProgram = "nix-visualize";
homepage = "https://github.com/craigmbooth/nix-visualize";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ henrirosten ];
};
}