mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
This reverts commit65a333600d. This wasn't tested for correctness with something like fodwatch [0], and should not have been (self-)merged so quickly, especially without further review. It also resulted in the breakage of at least one package [1] (and that's the one we know of and was caught). A few packages that were updated in between this commit and this revert were not reverted back to using `rev`, but other than that, this is a 1:1 revert. [0]: https://codeberg.org/raphaelr/fodwatch [1]: https://github.com/NixOS/nixpkgs/pull/396904 /758551e458
65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
installShellFiles,
|
|
stdenv,
|
|
shadow,
|
|
util-linux,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "lilipod";
|
|
version = "0.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "89luca89";
|
|
repo = "lilipod";
|
|
rev = "v${version}";
|
|
hash = "sha256-PqeYNLr4uXe+H+DLENlUpl1H2wV6VJvDoA+MVP3SRqY=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
buildPhase = ''
|
|
runHook preBuild
|
|
|
|
RELEASE_VERSION=${version} make all
|
|
|
|
runHook postBuild
|
|
'';
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
|
|
make coverage
|
|
|
|
runHook postCheck
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm755 lilipod $out/bin/lilipod
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Very simple (as in few features) container and image manager";
|
|
longDescription = ''
|
|
Lilipod is a very simple container manager with minimal features to:
|
|
|
|
- Download and manager images
|
|
- Create and run containers
|
|
|
|
It tries to keep a somewhat compatible CLI interface with Podman/Docker/Nerdctl.
|
|
'';
|
|
homepage = "https://github.com/89luca89/lilipod";
|
|
license = lib.licenses.gpl3Only;
|
|
mainProgram = "lilipod";
|
|
maintainers = with lib.maintainers; [ aleksana ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|