File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments