Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
639 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
callPackage,
nix-gitignore,
python3Packages,
}:
let
helpers = callPackage ./helpers.nix { };
pythonPackages = python3Packages;
in
pythonPackages.buildPythonApplication {
version = "0.1.0";
format = "pyproject";
pname = "flatten-references-graph";
# Note: this uses only ./src/.gitignore
src = nix-gitignore.gitignoreSource [ ] ./src;
build-system = with pythonPackages; [
setuptools
];
dependencies = with pythonPackages; [
igraph
toolz
];
doCheck = true;
checkPhase = ''
${helpers.unittest}/bin/unittest
'';
passthru = {
dev-shell = callPackage ./dev-shell.nix { };
};
}