Merge pull request #319166 from getchoo/pkgs/editables/adopt

python311Packages.editables: adopt; modernize
This commit is contained in:
Pol Dellaiera 2024-06-16 22:54:10 +02:00 committed by GitHub
commit f6f40fe37b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,14 +9,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "editables"; pname = "editables";
version = "0.5"; version = "0.5";
format = "pyproject"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-MJYn2bXErcDmaNjG+nusG6fIxdQVwtJ/YPCB+OgNHeI="; hash = "sha256-MJYn2bXErcDmaNjG+nusG6fIxdQVwtJ/YPCB+OgNHeI=";
}; };
nativeBuildInputs = [ flit-core ]; build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ pytestCheckHook ];
@ -25,10 +25,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "editables" ]; pythonImportsCheck = [ "editables" ];
meta = with lib; { meta = {
description = "Editable installations"; description = "Editable installations";
maintainers = with maintainers; [ ];
homepage = "https://github.com/pfmoore/editables"; homepage = "https://github.com/pfmoore/editables";
license = licenses.mit; changelog = "https://github.com/pfmoore/editables/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
}; };
} }