nixpkgs/pkgs/applications/virtualization/cntr/default.nix

26 lines
637 B
Nix
Raw Normal View History

2021-03-04 10:49:53 +00:00
{ lib, rustPlatform, fetchFromGitHub, nixosTests }:
2018-06-22 11:41:29 +00:00
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "cntr";
2021-03-04 13:49:05 +00:00
version = "1.5.1";
2018-06-22 11:41:29 +00:00
src = fetchFromGitHub {
owner = "Mic92";
repo = "cntr";
rev = version;
2021-03-04 13:49:05 +00:00
sha256 = "sha256-z+0bSxoLJTK4e5xS4CHZ2hNUI56Ci1gbWJsRcN6ZqZA=";
2018-06-22 11:41:29 +00:00
};
cargoSha256 = "sha256-3e5wDne6Idu+kDinHPcAKHfH/d4DrGg90GkiMbyF280=";
2018-06-22 11:41:29 +00:00
2022-09-24 07:14:05 +00:00
passthru.tests = nixosTests.cntr;
2021-03-04 10:49:53 +00:00
meta = with lib; {
2018-06-22 11:41:29 +00:00
description = "A container debugging tool based on FUSE";
homepage = "https://github.com/Mic92/cntr";
2018-06-22 11:41:29 +00:00
license = licenses.mit;
2020-12-30 05:58:57 +00:00
platforms = platforms.linux;
2018-06-22 11:41:29 +00:00
maintainers = [ maintainers.mic92 ];
};
}