Files
George Sandeep f9481a347a findimports: fix license
Issue #564638
2026-09-21 02:24:42 +05:30

36 lines
814 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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "findimports";
};
}