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

24 lines
596 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchFromGitHub }:
2018-06-22 11:41:29 +00:00
rustPlatform.buildRustPackage rec {
2019-08-31 11:41:23 +00:00
pname = "cntr";
2020-12-30 05:58:57 +00:00
version = "1.4.1";
2018-06-22 11:41:29 +00:00
src = fetchFromGitHub {
owner = "Mic92";
repo = "cntr";
rev = version;
2020-12-30 05:58:57 +00:00
sha256 = "sha256-4ogyOKuz6702/sOQNvE+UP+cvQrPPU3VjL4b0FUfRNw=";
2018-06-22 11:41:29 +00:00
};
2020-12-30 05:58:57 +00:00
cargoSha256 = "sha256-lblvun2T1qpFiowld77Ti2MFPzhs5pOWWRbErORXYCM=";
2018-06-22 11:41:29 +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 ];
};
}