podman-desktop: change self to finalAttrs
This commit is contained in:
parent
0845ec7275
commit
9f4d408fca
|
@ -12,19 +12,19 @@
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (self: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "podman-desktop";
|
pname = "podman-desktop";
|
||||||
version = "0.12.0";
|
version = "0.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = "podman-desktop";
|
repo = "podman-desktop";
|
||||||
rev = "v${self.version}";
|
rev = "v${finalAttrs.version}";
|
||||||
sha256 = "sha256-gEjcI+bfETYZB/pHDXRcNxNVDsbwuqQL1E22fMkIJHI=";
|
sha256 = "sha256-gEjcI+bfETYZB/pHDXRcNxNVDsbwuqQL1E22fMkIJHI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
offlineCache = fetchYarnDeps {
|
offlineCache = fetchYarnDeps {
|
||||||
yarnLock = "${self.src}/yarn.lock";
|
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||||
sha256 = "sha256-x0hqNxi6r1i3vBe1tJQl+Oht2St9VIH3Eq27MZLkojA=";
|
sha256 = "sha256-x0hqNxi6r1i3vBe1tJQl+Oht2St9VIH3Eq27MZLkojA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ stdenv.mkDerivation (self: {
|
||||||
icon = "podman-desktop";
|
icon = "podman-desktop";
|
||||||
desktopName = "Podman Desktop";
|
desktopName = "Podman Desktop";
|
||||||
genericName = "Desktop client for podman";
|
genericName = "Desktop client for podman";
|
||||||
comment = self.meta.description;
|
comment = finalAttrs.meta.description;
|
||||||
categories = [ "Utility" ];
|
categories = [ "Utility" ];
|
||||||
startupWMClass = "Podman Desktop";
|
startupWMClass = "Podman Desktop";
|
||||||
})
|
})
|
||||||
|
@ -112,7 +112,7 @@ stdenv.mkDerivation (self: {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A graphical tool for developing on containers and Kubernetes";
|
description = "A graphical tool for developing on containers and Kubernetes";
|
||||||
homepage = "https://podman-desktop.io";
|
homepage = "https://podman-desktop.io";
|
||||||
changelog = "https://github.com/containers/podman-desktop/releases/tag/v${self.version}";
|
changelog = "https://github.com/containers/podman-desktop/releases/tag/v${finalAttrs.version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ panda2134 ];
|
maintainers = with maintainers; [ panda2134 ];
|
||||||
inherit (electron.meta) platforms;
|
inherit (electron.meta) platforms;
|
||||||
|
|
Loading…
Reference in a new issue