mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 06:23:36 +00:00
ba5a5fac7b
mentioning non-existent file caused a ci failure: https://github.com/NixOS/nixpkgs/actions/runs/12091053669/job/33718955875?pr=122608
39 lines
652 B
Nix
39 lines
652 B
Nix
{
|
|
callPackage,
|
|
lib,
|
|
python3Packages,
|
|
}:
|
|
let
|
|
inherit (lib) fileset;
|
|
helpers = callPackage ./helpers.nix { };
|
|
pythonPackages = python3Packages;
|
|
in
|
|
pythonPackages.buildPythonApplication {
|
|
version = "0.1.0";
|
|
pname = "flatten-references-graph";
|
|
|
|
src = fileset.toSource {
|
|
root = ./src;
|
|
fileset = fileset.unions [
|
|
./src/.flake8
|
|
./src/flatten_references_graph
|
|
./src/setup.py
|
|
];
|
|
};
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
igraph
|
|
toolz
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
checkPhase = ''
|
|
${helpers.unittest}/bin/unittest
|
|
'';
|
|
|
|
passthru = {
|
|
dev-shell = callPackage ./dev-shell.nix { };
|
|
};
|
|
}
|