2021-08-10 14:31:46 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, nixosTests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cntr";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.5.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Mic92";
|
|
|
|
repo = "cntr";
|
|
|
|
rev = version;
|
2024-01-02 11:29:13 +00:00
|
|
|
sha256 = "sha256-spa4qPEhpNSZIk16jeH9YEr4g9JcVmpetHz72A/ZAPY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
cargoHash = "sha256-YN8EtUXKtT8Xc0RnW7QqL+awyWy5xFKWhYMxgYG28I4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
passthru.tests = nixosTests.cntr;
|
2021-08-10 14:31:46 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Container debugging tool based on FUSE";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/Mic92/cntr";
|
|
|
|
license = licenses.mit;
|
2021-01-05 17:05:55 +00:00
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.mic92 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "cntr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|