Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 27 lines 755 B view raw
1{ lib 2, fetchFromGitHub 3, rustPlatform 4}: 5 6rustPlatform.buildRustPackage rec { 7 pname = "automatic-timezoned"; 8 version = "1.0.94"; 9 10 src = fetchFromGitHub { 11 owner = "maxbrunet"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-MeglBAWmEqRtWKzvNMixXUPOkGGTFCCyO9A+RE/joTw="; 15 }; 16 17 cargoHash = "sha256-NkGWjvIN6Be12tuDEd7PhdFQgVUwzz2CEg6XASn9DKY="; 18 19 meta = with lib; { 20 description = "Automatically update system timezone based on location"; 21 homepage = "https://github.com/maxbrunet/automatic-timezoned"; 22 changelog = "https://github.com/maxbrunet/automatic-timezoned/blob/v${version}/CHANGELOG.md"; 23 license = licenses.gpl3; 24 maintainers = with maintainers; [ maxbrunet ]; 25 platforms = platforms.linux; 26 }; 27}