Something went wrong. Try again.
lol
Something went wrong. Try again.
859 B · 38 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839{ 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"; };}