nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 34 lines 704 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 nixosTests, 6}: 7 8rustPlatform.buildRustPackage rec { 9 pname = "cntr"; 10 version = "1.6.1"; 11 12 src = fetchFromGitHub { 13 owner = "Mic92"; 14 repo = "cntr"; 15 rev = version; 16 sha256 = "sha256-2tqPxbi8sKoEPq0/zQFsOrStEmQGlU8s81ohTfKeOmE="; 17 }; 18 19 cargoHash = "sha256-gWQ8seCuUSHuZUoNH9pnBTlzF9S0tHVLStnAiymLLbs="; 20 21 passthru.tests = nixosTests.cntr; 22 23 meta = with lib; { 24 description = "Container debugging tool based on FUSE"; 25 homepage = "https://github.com/Mic92/cntr"; 26 license = licenses.mit; 27 platforms = platforms.linux; 28 maintainers = with maintainers; [ 29 mic92 30 sigmasquadron 31 ]; 32 mainProgram = "cntr"; 33 }; 34}