13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
30 lines
642 B
Nix
30 lines
642 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "importmagic";
|
|
version = "0.1.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3f7757a5b74c9a291e20e12023bb3bf71bc2fa3adfb15a08570648ab83eaf8d8";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "importmagic" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python Import Magic - automagically add, remove and manage imports";
|
|
homepage = "https://github.com/alecthomas/importmagic";
|
|
license = licenses.bsd0;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
|
|
}
|