nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rsClock";
9 version = "0.1.12";
10
11 src = fetchFromGitHub {
12 owner = "valebes";
13 repo = "rsClock";
14 rev = "v${version}";
15 sha256 = "sha256-l5750zP90KnB+OIg1WOikQ6OgQZK4iwVvGBN3jegjGc=";
16 };
17
18 cargoHash = "sha256-Bnec98FEG2aWUa2IoBOLy0K6mqggcSwOBL3S5+0mSkU=";
19
20 meta = with lib; {
21 description = "Simple terminal clock written in Rust";
22 homepage = "https://github.com/valebes/rsClock";
23 license = licenses.mit;
24 maintainers = with maintainers; [ valebes ];
25 mainProgram = "rsclock";
26 };
27}