picom: Add meta.mainProgram and remove rec

This commit is contained in:
Gerg-L 2023-08-07 20:54:23 -04:00
parent c0790c094c
commit 2ed62c15fb

View File

@ -30,14 +30,14 @@
, withDebug ? false
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "picom";
version = "10.2";
src = fetchFromGitHub {
owner = "yshui";
repo = "picom";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-C+icJXTkE+XMaU7N6JupsP8xhmRVggX9hY1P7za0pO0=";
fetchSubmodules = true;
};
@ -113,5 +113,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/yshui/picom";
maintainers = with maintainers; [ ertes twey thiagokokada ];
platforms = platforms.linux;
mainProgram = "picom";
};
}
})