penelope: fixed binary name (#504533)

This commit is contained in:
Pol Dellaiera
2026-03-29 08:46:03 +00:00
committed by GitHub
+2 -8
View File
@@ -16,12 +16,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
hash = "sha256-72HFPByH4FBRIYaTeEWaZ2dW43Q1OjosT3qAOMiu5t4=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "[project.scripts]" "" \
--replace-fail 'penelope = "penelope:main"' ""
'';
build-system = with python3.pkgs; [ setuptools ];
# Project has no tests
@@ -31,9 +25,9 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
description = "Penelope Shell Handler";
homepage = "https://github.com/brightio/penelope";
changelog = "https://github.com/brightio/penelope/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "penelope.py";
mainProgram = "penelope";
platforms = lib.platforms.all;
};
})