lib.packagesFromDirectoryRecursive: Improved documentation (#359898)
[NixPkgs.git] / pkgs / by-name / rs / rsclock / package.nix
bloba8d0a89d4800f2cfd4f155823e449a994868a168
1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
4   pname = "rsClock";
5   version = "0.1.11";
7   src = fetchFromGitHub {
8     owner = "valebes";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-z+WGi1Jl+YkdAc4Nu818vi+OXg54GfAM6PbWYkgptpo=";
12   };
14   cargoHash = "sha256-/uAxIV7eroJNGsLl4T/6RskoTIWKu5Cgmv48eMkDZQw=";
16   meta = with lib; {
17     description = "Simple terminal clock written in Rust";
18     homepage = "https://github.com/valebes/rsClock";
19     license = licenses.mit;
20     maintainers = with maintainers; [valebes];
21     mainProgram = "rsclock";
22   };