about summary refs log tree commit diff
path: root/pkgs/development/python-modules/localimport/default.nix
blob: 9cb001af86a2feae021ef454dc08db45e18f6b89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "localimport";
  version = "1.7.6";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-8UhaZyGdN/N6UwR7pPYQR2hZCz3TrBxr1KOBJRx28ok=";
  };

  pythonImportsCheck = [ "localimport" ];

  meta = with lib; {
    homepage = "https://github.com/NiklasRosenstein/py-localimport";
    description = "Isolated import of Python modules";
    license = licenses.mit;
    maintainers = with maintainers; [ AndersonTorres ];
  };
}