File tree Expand file tree Collapse file tree 1 file changed +25
-21
lines changed Expand file tree Collapse file tree 1 file changed +25
-21
lines changed Original file line number Diff line number Diff line change 1- { lib
2- , python3Packages
3- , fetchFromGitHub
1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ python3Packages ,
45} :
56
6- python3Packages . buildPythonApplication rec {
7- pname = "setconf" ;
8- version = "0.7.7" ;
7+ let
8+ self = python3Packages . buildPythonApplication {
9+ pname = "setconf" ;
10+ version = "0.7.7" ;
911
10- src = fetchFromGitHub {
11- owner = "xyproto" ;
12- repo = "setconf" ;
13- rev = version ;
14- hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=" ;
15- } ;
12+ src = fetchFromGitHub {
13+ owner = "xyproto" ;
14+ repo = "setconf" ;
15+ rev = self . version ;
16+ hash = "sha256-HYZdDtDlGrT3zssDdMW3559hhC+cPy8qkmM8d9zEa1A=" ;
17+ } ;
1618
17- build-system = with python3Packages ; [ setuptools ] ;
19+ build-system = with python3Packages ; [ setuptools ] ;
1820
19- pyproject = true ;
21+ pyproject = true ;
2022
21- meta = {
22- homepage = "https://github.com/xyproto/setconf" ;
23- description = "Small utility for changing settings in configuration textfiles" ;
24- changelog = "https://github.com/xyproto/setconf/releases/tag/${ version } " ;
25- mainProgram = "setconf" ;
26- maintainers = with lib . maintainers ; [ AndersonTorres ] ;
23+ meta = {
24+ homepage = "https://github.com/xyproto/setconf" ;
25+ description = "Small utility for changing settings in configuration textfiles" ;
26+ changelog = "https://github.com/xyproto/setconf/releases/tag/${ self . src . rev } " ;
27+ mainProgram = "setconf" ;
28+ maintainers = with lib . maintainers ; [ AndersonTorres ] ;
29+ } ;
2730 } ;
28- }
31+ in
32+ self
You can’t perform that action at this time.
0 commit comments