Files
nixpkgs/pkgs/development/python-modules/eggdeps/default.nix
T
Martin Weinelt ae4a1a485a treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00

35 lines
723 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
zope-interface,
zope-testing,
}:
buildPythonPackage rec {
pname = "tl-eggdeps";
version = "1.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "tl.eggdeps";
sha256 = "a094ed7961a3dd38fcaaa69cf7a58670038acdff186360166d9e3d964b7a7323";
};
propagatedBuildInputs = [
zope-interface
zope-testing
];
# tests fail, see https://hydra.nixos.org/build/4316603/log/raw
doCheck = false;
meta = with lib; {
description = "Tool which computes a dependency graph between active Python eggs";
mainProgram = "eggdeps";
homepage = "https://thomas-lotze.de/en/software/eggdeps/";
license = licenses.zpl20;
};
}