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+ fetchFromGitHub ,
4+ python3 ,
5+ rsync ,
6+ nix-update-script ,
7+ } :
8+ python3 . pkgs . buildPythonApplication rec {
9+ name = "ietf-cli" ;
10+ version = "1.27" ;
11+ pyproject = false ;
12+
13+ src = fetchFromGitHub {
14+ owner = "paulehoffman" ;
15+ repo = "ietf-cli" ;
16+ tag = version ;
17+ hash = "sha256-D62E0aHVwB2e+3ZNNMOB2E93Q2WKhbWrYtnH76ZOepM=" ;
18+ } ;
19+ buildInputs = [ rsync ] ;
20+
21+ installPhase = ''
22+ runHook preInstall
23+
24+ install -Dm755 ./ietf -t $out/bin
25+
26+ runHook postInstall
27+ '' ;
28+
29+ passthru . updateScript = nix-update-script { } ;
30+
31+ meta = {
32+ description = "Command-line interface for accessing IETF documents and other information" ;
33+ mainProgram = "ietf" ;
34+ homepage = "https://github.com/paulehoffman/ietf-cli" ;
35+ license = lib . licenses . wtfpl ;
36+ maintainers = with lib . maintainers ; [ lilioid ] ;
37+ platforms = lib . lists . intersectLists python3 . meta . platforms rsync . meta . platforms ;
38+ } ;
39+ }
You can’t perform that action at this time.
0 commit comments