2024-03-13 18:15:41 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
poetry-core,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "poetry-plugin-poeblix";
|
|
|
|
version = "0.10.0";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "spoorn";
|
|
|
|
repo = "poeblix";
|
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-TKadEOk9kM3ZYsQmE2ftzjHNGNKI17p0biMr+Nskigs=";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i '/poetry =/d' pyproject.toml
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "poeblix" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-08-29 22:43:47 -04:00
|
|
|
changelog = "https://github.com/spoorn/poeblix/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
|
2024-03-13 18:15:41 +01:00
|
|
|
description = "Poetry Plugin that adds various features that extend the poetry command such as building wheel files with locked dependencies, and validations of wheel/docker containers";
|
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/spoorn/poeblix";
|
|
|
|
maintainers = with maintainers; [ hennk ];
|
|
|
|
};
|
|
|
|
}
|