podlet flake

This commit is contained in:
Daniel Yrovas 2024-05-07 11:54:12 +10:00
commit 3f9962d2e3
3 changed files with 99 additions and 0 deletions

16
default.nix Normal file
View file

@ -0,0 +1,16 @@
{
pkgs ? import <nixpkgs> {},
fetchFromGitHub,
}:
pkgs.rustPlatform.buildRustPackage rec {
pname = "podlet";
version = "0.2.4";
cargoHash = "sha256-3plmxaCgZj0kbimws36aRKenfhWq6aKmHUWX0ZoefJI=";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = version;
hash = "sha256-cCSVNwJZNePlM4Nzj7VVka51WQuUCNlwsMLk767Fg3Y=";
};
}