Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
735 B · 32 lines
Nix
123456789101112131415161718192021222324252627282930313233{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "classify-imports"; version = "4.2.0"; format = "setuptools"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "asottile"; repo = "classify-imports"; rev = "v${version}"; hash = "sha256-f5wZfisKz9WGdq6u0rd/zg2CfMwWvQeR8xZQNbD7KfU="; };
pythonImportsCheck = [ "classify_imports" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Utilities for refactoring imports in python-like syntax"; homepage = "https://github.com/asottile/classify-imports"; license = licenses.mit; maintainers = with maintainers; [ gador ]; };}