mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-09 06:43:36 +00:00
26 lines
527 B
Nix
26 lines
527 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "localimport";
|
|
version = "1.7.6";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-8UhaZyGdN/N6UwR7pPYQR2hZCz3TrBxr1KOBJRx28ok=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "localimport" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/NiklasRosenstein/py-localimport";
|
|
description = "Isolated import of Python modules";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
})
|