nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5 nix-update-script,
6}:
7
8rustPlatform.buildRustPackage (finalAttrs: {
9 pname = "dockrtui";
10 version = "0.1.3";
11
12 src = fetchFromGitHub {
13 owner = "LuuNa-JD";
14 repo = "dockrtui";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-C0TS3jp3ONsgjXKZYeMM9AeIxT2Moy8gxhFxkguT1I8=";
17 };
18
19 cargoHash = "sha256-8DY4pRWCswsC+wkrAHFic7YTkAT2VMRk8++jpNoQkEs=";
20
21 passthru.updateScript = nix-update-script { };
22
23 meta = {
24 description = "Fast, modern and keyboard-driven terminal dashboard for Docker";
25 homepage = "https://github.com/LuuNa-JD/dockrtui";
26 changelog = "https://github.com/LuuNa-JD/dockrtui/releases/tag/v${finalAttrs.version}";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ chansuke ];
29 mainProgram = "dockrtui";
30 };
31})