File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
pkgs/by-name/fo/foodfetch Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1739517395 github = "noaccOS";
1739617396 githubId = 24324352;
1739717397 };
17398+ noahfraiture = {
17399+ name = "Noahcode";
17400+ 17401+ github = "noahfraiture";
17402+ githubId = 94681915;
17403+ };
1739817404 noahgitsham = {
1739917405 name = "Noah Gitsham";
1740017406 github = "noahgitsham";
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ rustPlatform ,
4+ fetchFromGitHub ,
5+ openssl ,
6+ pkg-config ,
7+ versionCheckHook ,
8+ nix-update-script ,
9+ } :
10+ rustPlatform . buildRustPackage ( finalAttrs : {
11+ pname = "foodfetch" ;
12+ version = "0.1.1" ;
13+ src = fetchFromGitHub {
14+ owner = "noahfraiture" ;
15+ repo = "foodfetch" ;
16+ tag = "v${ finalAttrs . version } " ;
17+ hash = "sha256-TUgj3zS18lCtkyxYrG4f156YqFSCGXzfbK6b+Owacto=" ;
18+ } ;
19+
20+ useFetchCargoVendor = true ;
21+ cargoHash = "sha256-ZPV6sDQHV+G0HxRAVlcilh4tCCQspTnxnH1aHxVP8tI=" ;
22+
23+ nativeBuildInputs = [ pkg-config ] ;
24+
25+ buildInputs = [ openssl ] ;
26+
27+ doInstallCheck = true ;
28+ nativeInstallCheck = [ versionCheckHook ] ;
29+
30+ passthru . updateScript = nix-update-script { } ;
31+
32+ meta = {
33+ changelog = "https://github.com/noahfraiture/foodfetch/releases/tag/v${ finalAttrs . version } " ;
34+ description = "Yet another fetch to quickly get recipes" ;
35+ homepage = "https://github.com/noahfraiture/foodfetch" ;
36+ license = lib . licenses . mit ;
37+ mainProgram = "foodfetch" ;
38+ maintainers = with lib . maintainers ; [ noahfraiture ] ;
39+ } ;
40+ } )
You can’t perform that action at this time.
0 commit comments