Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
987 B
Nix
40 lines
987 B
Nix
{
|
|
lib,
|
|
appimageTools,
|
|
fetchurl,
|
|
}:
|
|
|
|
let
|
|
pname = "codux";
|
|
version = "15.42.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage";
|
|
hash = "sha256-rD0yXZAEUcPtxWlWuZD77gjw6JlcUvBsaDYGj+NgLss=";
|
|
};
|
|
|
|
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
|
in
|
|
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
|
|
extraInstallCommands = ''
|
|
install -m 444 -D ${appimageContents}/codux.desktop -t $out/share/applications
|
|
cp -r ${appimageContents}/usr/share/icons $out/share
|
|
substituteInPlace $out/share/applications/codux.desktop --replace 'Exec=AppRun' 'Exec=codux'
|
|
'';
|
|
|
|
meta = {
|
|
description = "Visual IDE for React";
|
|
homepage = "https://www.codux.com";
|
|
license = lib.licenses.unfree;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = with lib.maintainers; [
|
|
dit7ya
|
|
kashw2
|
|
];
|
|
mainProgram = "codux";
|
|
};
|
|
}
|