Skip to content

Commit 53cbef9

Browse files
authored
penelope: init at 0.12.4-unstable-2024-10-21 (#358819)
2 parents 41cc9cd + 1d220ad commit 53cbef9

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
lib,
3+
python3,
4+
fetchFromGitHub,
5+
}:
6+
7+
python3.pkgs.buildPythonApplication rec {
8+
pname = "penelope";
9+
version = "0.12.4-unstable-2024-10-21";
10+
pyproject = true;
11+
12+
src = fetchFromGitHub {
13+
owner = "brightio";
14+
repo = "penelope";
15+
rev = "366534d192ed279cc822da565408ea7ff48d6a60";
16+
hash = "sha256-pBEYgLyicG34HsIBSt8P9xGJEaEz9ZWyxokNyuO6mdM=";
17+
};
18+
19+
postPatch = ''
20+
substituteInPlace pyproject.toml \
21+
--replace-fail "[project.scripts]" "" \
22+
--replace-fail 'penelope = "penelope:main"' ""
23+
'';
24+
25+
build-system = with python3.pkgs; [ setuptools ];
26+
27+
# Project has no tests
28+
doCheck = false;
29+
30+
meta = {
31+
description = "Penelope Shell Handler";
32+
homepage = "https://github.com/brightio/penelope";
33+
changelog = "https://github.com/brightio/penelope/releases/tag/v${version}";
34+
license = lib.licenses.gpl3Only;
35+
maintainers = with lib.maintainers; [ fab ];
36+
mainProgram = "penelope.py";
37+
platforms = lib.platforms.all;
38+
};
39+
}

0 commit comments

Comments
 (0)