nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 22 lines 573 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "rsClock"; 5 version = "0.1.9"; 6 7 src = fetchFromGitHub { 8 owner = "valebes"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-HsHFlM5PHUIF8FbLMJpleAvgsXHP6IZLuiH+umK1V4M="; 12 }; 13 14 cargoHash = "sha256-0bUKiKieIic+d3jEow887i7j2tp/ntYkXm6x08Df64M="; 15 16 meta = with lib; { 17 description = "A simple terminal clock written in Rust"; 18 homepage = "https://github.com/valebes/rsClock"; 19 license = licenses.mit; 20 maintainers = with maintainers; [valebes]; 21 }; 22}