-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
penelope: init at 0.12.4-unstable-2024-10-21
Penelope Shell Handler https://github.com/brightio/penelope
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
lib, | ||
python3, | ||
fetchFromGitHub, | ||
}: | ||
|
||
python3.pkgs.buildPythonApplication rec { | ||
pname = "penelope"; | ||
version = "0.12.4-unstable-2024-10-21"; | ||
pyproject = true; | ||
|
||
src = fetchFromGitHub { | ||
owner = "brightio"; | ||
repo = "penelope"; | ||
rev = "366534d192ed279cc822da565408ea7ff48d6a60"; | ||
hash = "sha256-pBEYgLyicG34HsIBSt8P9xGJEaEz9ZWyxokNyuO6mdM="; | ||
}; | ||
|
||
postPatch = '' | ||
substituteInPlace pyproject.toml \ | ||
--replace-fail "[project.scripts]" "" \ | ||
--replace-fail 'penelope = "penelope:main"' "" | ||
''; | ||
|
||
build-system = with python3.pkgs; [ setuptools ]; | ||
|
||
# Project has no tests | ||
doCheck = false; | ||
|
||
meta = { | ||
description = "Penelope Shell Handler"; | ||
homepage = "https://github.com/brightio/penelope"; | ||
changelog = "https://github.com/brightio/penelope/releases/tag/v${version}"; | ||
license = lib.licenses.gpl3Only; | ||
maintainers = with lib.maintainers; [ fab ]; | ||
mainProgram = "penelope.py"; | ||
platforms = lib.platforms.all; | ||
}; | ||
} |