File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
pkgs/by-name/bi/biliup-rs Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ rustPlatform ,
5+ nix-update-script ,
6+
7+ python3 ,
8+ sqlite ,
9+ } :
10+
11+ rustPlatform . buildRustPackage rec {
12+ pname = "biliup-rs" ;
13+ version = "0.2.2" ;
14+
15+ src = fetchFromGitHub {
16+ owner = "biliup" ;
17+ repo = "biliup-rs" ;
18+ tag = "v${ version } " ;
19+ hash = "sha256-Wpi5ONOzWL/NUUuIR4jaDcJFq7ZIYi7gkIxFIU3SLVY=" ;
20+ } ;
21+
22+ nativeBuildInputs = [
23+ python3
24+ sqlite
25+ ] ;
26+
27+ useFetchCargoVendor = true ;
28+ cargoHash = "sha256-4SH7ux15Sm7NJDY79x9O7oahvbjS4kZzzY/9UsLDq0U=" ;
29+
30+ passthru . updateScript = nix-update-script { } ;
31+
32+ meta = {
33+ changelog = "https://github.com/biliup/biliup-rs/releases/tag/v${ version } " ;
34+ description = "CLI tool for uploading videos to Bilibili" ;
35+ homepage = "https://biliup.github.io/biliup-rs" ;
36+ license = lib . licenses . mit ;
37+ maintainers = with lib . maintainers ; [ oosquare ] ;
38+ mainProgram = "biliup" ;
39+ platforms = lib . platforms . all ;
40+ } ;
41+ }
You can’t perform that action at this time.
0 commit comments