1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
nixpkgs/pkgs/by-name/po/podlet/package.nix
2024-10-08 21:16:41 +08:00

29 lines
759 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "podlet";
version = "0.3.0";
src = fetchFromGitHub {
owner = "containers";
repo = "podlet";
rev = "refs/tags/v${version}";
hash = "sha256-STkYCaXBoQSmFKpMdsKzqFGXHh9s0jeGi5K2itj8jmc=";
};
cargoHash = "sha256-G+X9b4PAQ+1TkzGIs1g+qz7HYjwPJ/CvaHMiOAn3dV8=";
meta = {
description = "Generate Podman Quadlet files from a Podman command, compose file, or existing object";
homepage = "https://github.com/containers/podlet";
changelog = "https://github.com/containers/podlet/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ qwqawawow ];
mainProgram = "podlet";
};
}