depot/third_party/nixpkgs/pkgs/development/python-modules/editables/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
747 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "editables";
version = "0.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-MJYn2bXErcDmaNjG+nusG6fIxdQVwtJ/YPCB+OgNHeI=";
};
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
# Tests not included in archive.
doCheck = false;
pythonImportsCheck = [ "editables" ];
meta = {
description = "Editable installations";
homepage = "https://github.com/pfmoore/editables";
changelog = "https://github.com/pfmoore/editables/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
};
}