2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
flit-core,
|
|
|
|
pytestCheckHook,
|
2021-07-17 21:14:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "editables";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.5";
|
|
|
|
format = "pyproject";
|
2021-07-17 21:14:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-MJYn2bXErcDmaNjG+nusG6fIxdQVwtJ/YPCB+OgNHeI=";
|
2021-07-17 21:14:59 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ flit-core ];
|
2023-11-16 04:20:00 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-07-17 21:14:59 +00:00
|
|
|
|
|
|
|
# Tests not included in archive.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-18 21:22:44 +00:00
|
|
|
pythonImportsCheck = [ "editables" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-07-17 21:14:59 +00:00
|
|
|
description = "Editable installations";
|
2021-07-18 21:22:44 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
homepage = "https://github.com/pfmoore/editables";
|
|
|
|
license = licenses.mit;
|
2021-07-17 21:14:59 +00:00
|
|
|
};
|
|
|
|
}
|