Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / importmagic / default.nix
bloba94b104094199f1f42cdbc3b80d1d9c2d5f0f80c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , six
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "importmagic";
10   version = "0.1.7";
11   format = "setuptools";
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "3f7757a5b74c9a291e20e12023bb3bf71bc2fa3adfb15a08570648ab83eaf8d8";
16   };
18   propagatedBuildInputs = [ six ];
20   nativeCheckInputs = [ pytestCheckHook ];
22   pythonImportsCheck = [ "importmagic" ];
24   meta = with lib; {
25     description = "Python Import Magic - automagically add, remove and manage imports";
26     homepage = "https://github.com/alecthomas/importmagic";
27     license = licenses.bsd0;
28     maintainers = with maintainers; [ onny ];
29   };