trying to package mu editor
This commit is contained in:
parent
72f0a97656
commit
9c2ca6bd55
5 changed files with 41 additions and 18 deletions
24
flake.lock
generated
24
flake.lock
generated
|
@ -134,11 +134,11 @@
|
||||||
"zig": "zig"
|
"zig": "zig"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736372994,
|
"lastModified": 1736455421,
|
||||||
"narHash": "sha256-iCb3+KniUL0Ic1AUkaM3CpO2UGNW6CQSigVzuVUQ8T0=",
|
"narHash": "sha256-TsDbQIHOi84hTjb0SSLSyX27P1MA1DVLagX8uik+WGk=",
|
||||||
"owner": "ghostty-org",
|
"owner": "ghostty-org",
|
||||||
"repo": "ghostty",
|
"repo": "ghostty",
|
||||||
"rev": "eb40cce45e6593a4065a32681d27c75c4ca3a9c9",
|
"rev": "6ef757a8f85db7a124d370378850339a899c9e65",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -212,11 +212,11 @@
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736366465,
|
"lastModified": 1736421950,
|
||||||
"narHash": "sha256-Fo68EF6p/N9GJyHiAUbXtiE7IJlb3IMjK86LuxFMsRU=",
|
"narHash": "sha256-RyrX0WFXxFrYvzHNLTIyuk3NcNl3UBykuYru/P0zW5E=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "7e00856596891850ba5ad4c5ecd2ed74468c08c5",
|
"rev": "d4aebb947a301b8da8654a804979a738c5c5da50",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -303,11 +303,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736283893,
|
"lastModified": 1736441705,
|
||||||
"narHash": "sha256-BG1FfTexFwNty5VhYjaQLMR6CMPfI3QRcaZrFQYu2EM=",
|
"narHash": "sha256-OL7leZ6KBhcDF3nEKe4aZVfIm6xQpb1Kb+mxySIP93o=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "4f339f6be2b61662f957c2ee9eda0fa597d8a6d6",
|
"rev": "8870dcaff63dfc6647fb10648b827e9d40b0a337",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -366,11 +366,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable_2": {
|
"nixpkgs-unstable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736012469,
|
"lastModified": 1736344531,
|
||||||
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
|
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
|
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -53,11 +53,7 @@
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
# Supported systems for your flake packages, shell, etc.
|
# Supported systems for your flake packages, shell, etc.
|
||||||
systems = [
|
systems = [
|
||||||
"aarch64-linux"
|
|
||||||
"i686-linux"
|
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
"aarch64-darwin"
|
|
||||||
"x86_64-darwin"
|
|
||||||
];
|
];
|
||||||
# This is a function that generates an attribute by calling a function you
|
# This is a function that generates an attribute by calling a function you
|
||||||
# pass to it, with each system as an argument
|
# pass to it, with each system as an argument
|
||||||
|
|
|
@ -23,6 +23,10 @@
|
||||||
inputs.affinity-nix.packages.x86_64-linux.publisher
|
inputs.affinity-nix.packages.x86_64-linux.publisher
|
||||||
inputs.affinity-nix.packages.x86_64-linux.designer
|
inputs.affinity-nix.packages.x86_64-linux.designer
|
||||||
|
|
||||||
|
guix
|
||||||
|
|
||||||
|
mu-edit
|
||||||
|
|
||||||
just
|
just
|
||||||
yt-dlp
|
yt-dlp
|
||||||
erdtree
|
erdtree
|
||||||
|
@ -566,7 +570,7 @@
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/desktop/background" = {
|
"org/gnome/desktop/background" = {
|
||||||
picture-options = "none";
|
picture-options = "none";
|
||||||
primary-color = "#222222";
|
primary-color = "#333333";
|
||||||
};
|
};
|
||||||
|
|
||||||
"org/gnome/shell/keybindings" = {
|
"org/gnome/shell/keybindings" = {
|
||||||
|
|
20
packages/mu-edit/mu-edit.nix
Normal file
20
packages/mu-edit/mu-edit.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, appimageTools, ... }:
|
||||||
|
|
||||||
|
appimageTools.wrapType2 {
|
||||||
|
version = "latest";
|
||||||
|
pname = "mu-edit";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mu-editor/mu/releases/download/v1.2.0/MuEditor-Linux-1.2.0-x86_64.AppImage";
|
||||||
|
hash = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
extraPkgs = pkgs: [ pkgs.libxcrypt.out ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "mu python editos";
|
||||||
|
homepage = "https://codewith.mu/";
|
||||||
|
downloadPage = "https://codewith.mu/en/download";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -73,6 +73,8 @@
|
||||||
egl-wayland
|
egl-wayland
|
||||||
glfw-wayland
|
glfw-wayland
|
||||||
libGL.dev
|
libGL.dev
|
||||||
|
libxcrypt.out
|
||||||
|
libgcrypt.out
|
||||||
openssl
|
openssl
|
||||||
linuxKernel.packages.linux_6_12.openrazer
|
linuxKernel.packages.linux_6_12.openrazer
|
||||||
];
|
];
|
||||||
|
@ -376,6 +378,7 @@
|
||||||
openssl.out
|
openssl.out
|
||||||
attr
|
attr
|
||||||
libssh
|
libssh
|
||||||
|
libxcrypt.out
|
||||||
bzip2
|
bzip2
|
||||||
libxml2
|
libxml2
|
||||||
acl
|
acl
|
||||||
|
@ -426,7 +429,7 @@
|
||||||
users.users.emenel = {
|
users.users.emenel = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "emenel";
|
description = "emenel";
|
||||||
extraGroups = [ "networkmanager" "wheel" "uinput" "input" "audio" "video" "libvirtd" "nvidia" "cups" "openrazer" "plugdev" ];
|
extraGroups = [ "networkmanager" "wheel" "uinput" "uucp" "dialout" "input" "audio" "video" "libvirtd" "nvidia" "cups" "openrazer" "plugdev" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue