Files
nixpkgs/pkgs/development/python-modules/findimports/default.nix
T
Martin Weinelt eedd9d7d7d python3Packages.findimports: 2.7.0 -> 3.0.0
https://github.com/mgedmin/findimports/blob/3.0.0/CHANGES.rst

This commit was automatically generated using update-python-libraries.
2026-02-01 16:43:51 +01:00

39 lines
859 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "findimports";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mgedmin";
repo = "findimports";
tag = version;
hash = "sha256-3MYHl35FfStmyhBNvedIHIZQYTyBuRyg5OI3d3Mi57I=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "findimports" ];
meta = {
description = "Module for the analysis of Python import statements";
homepage = "https://github.com/mgedmin/findimports";
changelog = "https://github.com/mgedmin/findimports/blob/${src.tag}/CHANGES.rst";
license = with lib.licenses; [
gpl2Only # or
gpl3Only
];
maintainers = with lib.maintainers; [ fab ];
mainProgram = "findimports";
};
}