move custom pkgs to personal nur repo
This commit is contained in:
parent
bcbe0cc366
commit
ac650ea972
@ -101,7 +101,7 @@ in {
|
||||
"network.protocol-handler.external.element" = false;
|
||||
# "identity.sync.tokenserver.uri" = "https://fsync.ataraxiadev.com/1.0/sync/1.5";
|
||||
};
|
||||
extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user-js/profiles/user.js"}";
|
||||
extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user.js/user.js"}";
|
||||
};
|
||||
};
|
||||
kpoxa = {
|
||||
@ -148,7 +148,7 @@ in {
|
||||
|
||||
"network.protocol-handler.external.element" = false;
|
||||
};
|
||||
extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user-js/profiles/user.js"}";
|
||||
extraPrefs = "${fileContents "${pkgs.arkenfox-userjs}/share/user.js/user.js"}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -5,51 +5,37 @@ let
|
||||
config = config.nixpkgs.config;
|
||||
localSystem = { inherit system; };
|
||||
};
|
||||
roundcube-plugins = import ./packages/roundcube-plugins/default.nix;
|
||||
nur = import inputs.nur {
|
||||
nurpkgs = import inputs.nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
};
|
||||
in
|
||||
with lib; {
|
||||
nixpkgs.overlays = [
|
||||
inputs.nur.overlay
|
||||
roundcube-plugins
|
||||
(import ./packages/grub/default.nix)
|
||||
nur.repos.ataraxiasjel.overlays.default
|
||||
nur.repos.ataraxiasjel.overlays.grub2-argon2
|
||||
(final: prev:
|
||||
rec {
|
||||
inherit inputs;
|
||||
|
||||
arkenfox-userjs = prev.callPackage ./packages/arkenfox-userjs.nix { arkenfox-repo = inputs.arkenfox-userjs; };
|
||||
a2ln = prev.callPackage ./packages/a2ln.nix { };
|
||||
bibata-cursors-tokyonight = prev.callPackage ./packages/bibata-cursors-tokyonight.nix { };
|
||||
ceserver = prev.callPackage ./packages/ceserver.nix { };
|
||||
microbin = prev.callPackage ./packages/microbin-pkg { };
|
||||
mpris-ctl = prev.callPackage ./packages/mpris-ctl.nix { };
|
||||
parsec = prev.callPackage ./packages/parsec.nix { };
|
||||
proton-ge = prev.callPackage ./packages/proton-ge { };
|
||||
protonhax = prev.callPackage ./packages/protonhax.nix { };
|
||||
reshade-shaders = prev.callPackage ./packages/reshade-shaders.nix { };
|
||||
rosepine-gtk-theme = prev.callPackage ./packages/rosepine-gtk-theme.nix { };
|
||||
rosepine-icon-theme = prev.callPackage ./packages/rosepine-icon-theme.nix { };
|
||||
tokyonight-gtk-theme = prev.callPackage ./packages/tokyonight-gtk-theme.nix { };
|
||||
tokyonight-icon-theme = prev.callPackage ./packages/tokyonight-icon-theme.nix { };
|
||||
nix-alien = inputs.nix-alien.packages.${system}.nix-alien;
|
||||
nix-index-update = inputs.nix-alien.packages.${system}.nix-index-update;
|
||||
prismlauncher = inputs.prismlauncher.packages.${system}.default;
|
||||
spotify = master.spotify;
|
||||
waybar = inputs.hyprland.packages.${system}.waybar-hyprland;
|
||||
wine = prev.wineWowPackages.staging;
|
||||
youtube-to-mpv = prev.callPackage ./packages/youtube-to-mpv.nix { term = config.defaultApplications.term.cmd; };
|
||||
seadrive-fuse = prev.callPackage ./packages/seadrive-fuse.nix { };
|
||||
yt-dlp = master.yt-dlp;
|
||||
steam = master.steam.override {
|
||||
extraPkgs = pkgs: with pkgs; [ mono libkrb5 keyutils ];
|
||||
};
|
||||
waybar = inputs.hyprland.packages.${system}.waybar-hyprland;
|
||||
waydroid-script = prev.callPackage ./packages/waydroid-script.nix { };
|
||||
wine = prev.wineWowPackages.staging;
|
||||
prismlauncher = inputs.prismlauncher.packages.${system}.default;
|
||||
nix-alien = inputs.nix-alien.packages.${system}.nix-alien;
|
||||
nix-index-update = inputs.nix-alien.packages.${system}.nix-index-update;
|
||||
yt-dlp = master.yt-dlp;
|
||||
|
||||
nix = inputs.nix.packages.${system}.default.overrideAttrs (oa: {
|
||||
doInstallCheck = false;
|
||||
patches = [ ./nix/doas.patch ] ++ oa.patches or [ ];
|
||||
});
|
||||
|
||||
nix-direnv = inputs.nix-direnv.packages.${system}.default.override { pkgs = final; };
|
||||
# For nix-direnv
|
||||
nixFlakes = final.nix;
|
||||
|
||||
cassowary-py = inputs.cassowary.packages.${system}.cassowary;
|
||||
|
@ -1,38 +0,0 @@
|
||||
{ lib, python3, fetchFromGitHub, writeText, libnotify, gobject-introspection, wrapGAppsHook }:
|
||||
let
|
||||
version = "1.1.4";
|
||||
setup-py = writeText "setup.py" ''
|
||||
from distutils.core import setup
|
||||
setup(
|
||||
name='a2ln',
|
||||
version='${version}',
|
||||
scripts=['a2ln'],
|
||||
)
|
||||
'';
|
||||
in python3.pkgs.buildPythonApplication rec {
|
||||
inherit version;
|
||||
pname = "a2ln";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "a2ln-server";
|
||||
owner = "patri9ck";
|
||||
rev = version;
|
||||
sha256 = "1lh8wbrhcdaqy1dhg13ay7s4hip7g911fbb5h0v3a99kzgn6vl1m";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
cp ${setup-py} setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pillow pygobject3 setproctitle pyzmq qrcode
|
||||
wrapGAppsHook libnotify gobject-introspection
|
||||
];
|
||||
|
||||
strictDeps = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A way to display Android phone notifications on Linux (Server)";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
{ stdenv, lib, arkenfox-repo }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "arkenfox-userjs";
|
||||
version = "master";
|
||||
src = arkenfox-repo;
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/user-js/profiles
|
||||
substituteInPlace prefsCleaner.sh \
|
||||
--replace 'currdir=$(pwd)' 'currdir=$@'
|
||||
cp {user.js,prefsCleaner.sh,updater.sh} $out/share/user-js/profiles
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Firefox privacy, security and anti-fingerprinting";
|
||||
homepage = "https://github.com/arkenfox/user.js";
|
||||
maintainers = [ ];
|
||||
platforms = platforms.all;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
{ lib, stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bibata-cursors-tokyonight";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://code.ataraxiadev.com/AtaraxiaDev/Bibata-Modern-TokyoNight.git";
|
||||
sha256 = "sha256-PREfEgv+FQZjYAQijY3bHQ/0E/L8HgJUBWeA0vdBkAA=";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/share/icons"
|
||||
cp -r $src/Bibata-Modern-TokyoNight $out/share/icons
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Material Based Cursor";
|
||||
homepage = "https://code.ataraxiadev.com/AtaraxiaDev/Bibata-Modern-TokyoNight";
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ceserver";
|
||||
version = "7.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cheat-engine";
|
||||
repo = "cheat-engine";
|
||||
rev = version;
|
||||
hash = "sha256-EG2d4iXhBGmVougCi27O27SrC+L3P4alrgnUvBsT1Ic=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
cd Cheat\ Engine/ceserver/gcc
|
||||
make
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ceserver $out/bin
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
zlib
|
||||
];
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
final: prev: {
|
||||
grub2 = prev.grub2.overrideAttrs (attrs: {
|
||||
version = "2.06.r499.ge67a551a4";
|
||||
|
||||
src = prev.fetchgit {
|
||||
url = "https://git.savannah.gnu.org/git/grub.git";
|
||||
rev = "e67a551a48192a04ab705fca832d82f850162b64";
|
||||
hash = "sha256-HycIXy8qf56JVQP5KUavfNShyU0hE+/HrdbT/ZBnzzI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./fix-bash-completion.patch
|
||||
(prev.fetchpatch {
|
||||
name = "Add-hidden-menu-entries.patch";
|
||||
# https://lists.gnu.org/archive/html/grub-devel/2016-04/msg00089.html
|
||||
url = "https://marc.info/?l=grub-devel&m=146193404929072&q=mbox";
|
||||
sha256 = "00wa1q5adiass6i0x7p98vynj9vsz1w0gn1g4dgz89v35mpyw2bi";
|
||||
})
|
||||
|
||||
# argon2 patches from AUR: https://aur.archlinux.org/packages/grub-improved-luks2-git
|
||||
(prev.fetchpatch {
|
||||
name = "argon_1.patch";
|
||||
url =
|
||||
"https://aur.archlinux.org/cgit/aur.git/plain/argon_1.patch?h=grub-improved-luks2-git";
|
||||
sha256 = "sha256-WCt+sVr8Ss/bAI41yMJmcZoIPVO1HFEjw1OVRUPYb+w=";
|
||||
})
|
||||
(prev.fetchpatch {
|
||||
name = "argon_2.patch";
|
||||
url =
|
||||
"https://aur.archlinux.org/cgit/aur.git/plain/argon_2.patch?h=grub-improved-luks2-git";
|
||||
sha256 = "sha256-OMQYjTFq0PpO38wAAXRsYUfY8nWoAMcPhKUlbqizIS8=";
|
||||
})
|
||||
(prev.fetchpatch {
|
||||
name = "argon_3.patch";
|
||||
url =
|
||||
"https://aur.archlinux.org/cgit/aur.git/plain/argon_3.patch?h=grub-improved-luks2-git";
|
||||
sha256 = "sha256-rxtvrBG4HhGYIvpIGZ7luNH5GPbl7TlqbNHcnR7IZc8=";
|
||||
})
|
||||
(prev.fetchpatch {
|
||||
name = "argon_4.patch";
|
||||
url =
|
||||
"https://aur.archlinux.org/cgit/aur.git/plain/argon_4.patch?h=grub-improved-luks2-git";
|
||||
sha256 = "sha256-Hz88P8T5O2ANetnAgfmiJLsucSsdeqZ1FYQQLX0WP3I=";
|
||||
})
|
||||
(prev.fetchpatch {
|
||||
name = "argon_5.patch";
|
||||
url =
|
||||
"https://aur.archlinux.org/cgit/aur.git/plain/argon_5.patch?h=grub-improved-luks2-git";
|
||||
sha256 = "sha256-cs5dKI2Am+Kp0/ZqSWqd2h/7Oj+WEBeKgWPVsCeMgwk=";
|
||||
})
|
||||
(prev.fetchpatch {
|
||||
name = "grub-install_luks2.patch";
|
||||
url =
|
||||
"https://aur.archlinux.org/cgit/aur.git/plain/grub-install_luks2.patch?h=grub-improved-luks2-git";
|
||||
sha256 = "sha256-I+1Yl0DVBDWFY3+EUPbE6FTdWsKH81DLP/2lGPVJtLI=";
|
||||
})
|
||||
];
|
||||
nativeBuildInputs =
|
||||
(builtins.filter (x: x.name != "autoreconf-hook") attrs.nativeBuildInputs)
|
||||
++ (with final; [ autoconf automake ]);
|
||||
|
||||
preConfigure = let
|
||||
gnulib = final.fetchgit {
|
||||
url = "https://git.savannah.gnu.org/r/gnulib.git";
|
||||
rev = "06b2e943be39284783ff81ac6c9503200f41dba3";
|
||||
sha256 = "sha256-xhxN8Tw15ENAMSE/cTkigl5yHR3T2d7B1RMFqiMvmxU=";
|
||||
};
|
||||
in builtins.replaceStrings [ "patchShebangs ." ] [''
|
||||
patchShebangs .
|
||||
|
||||
./bootstrap --no-git --gnulib-srcdir=${gnulib}
|
||||
''] attrs.preConfigure;
|
||||
|
||||
configureFlags = attrs.configureFlags
|
||||
++ [ "--disable-nls" "--disable-silent-rules" "--disable-werror" ];
|
||||
});
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
diff -ubr grub-2.00-orig/util/bash-completion.d/grub-completion.bash.in grub-2.00/util/bash-completion.d/grub-completion.bash.in
|
||||
--- grub-2.00-orig/util/bash-completion.d/grub-completion.bash.in 2012-10-16 19:02:36.342733957 +0200
|
||||
+++ grub-2.00/util/bash-completion.d/grub-completion.bash.in 2012-10-16 19:04:48.262733941 +0200
|
||||
@@ -17,6 +17,12 @@
|
||||
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
# bash completion for grub
|
||||
|
||||
+have()
|
||||
+{
|
||||
+ unset -v have
|
||||
+ _have $1 && have=yes
|
||||
+}
|
||||
+
|
||||
__grub_dir() {
|
||||
local i c=1 boot_dir
|
||||
|
||||
@@ -479,6 +485,7 @@
|
||||
have ${__grub_script_check_program} && \
|
||||
complete -F _grub_script_check -o filenames ${__grub_script_check_program}
|
||||
|
||||
+unset -f have
|
||||
|
||||
# Local variables:
|
||||
# mode: shell-script
|
File diff suppressed because it is too large
Load Diff
@ -1,26 +0,0 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "microbin";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "szabodanika";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ppm34sj01pwwfyyy433k7r6li9ckngjq6j9xjjb2k184hzy2dva";
|
||||
};
|
||||
|
||||
cargoPatches = [
|
||||
./add-Cargo.lock.patch
|
||||
];
|
||||
|
||||
cargoSha256 = "sha256-AkFrS26uwJgHXwXWnSU4FRwWA7c3iZmpZ35QiKKk18s=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tiny, self-contained, configurable paste bin and URL shortener written in Rust.";
|
||||
homepage = "https://github.com/szabodanika/microbin";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, pkg-config, dbus, scdoc, installShellFiles }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpris-ctl";
|
||||
version = "0.8.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mariusor";
|
||||
repo = "mpris-ctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "1j3827yi89wdx3bw0wgwbhalg6r26rngf62g6g5baz2dksgrgagb";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config scdoc installShellFiles ];
|
||||
|
||||
buildInputs = [ dbus ];
|
||||
|
||||
buildPhase = ''
|
||||
make VERSION="0.8.4-2" release
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
scdoc < mpris-ctl.1.scd > mpris-ctl.1
|
||||
installManPage mpris-ctl.1
|
||||
install -D mpris-ctl $out/bin/mpris-ctl
|
||||
'';
|
||||
}
|
@ -1,180 +0,0 @@
|
||||
# based on https://github.com/clefru/nur-packages/blob/master/pkgs/parsecgaming/default.nix
|
||||
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildFHSUserEnv
|
||||
, fetchurl
|
||||
, copyDesktopItems
|
||||
, curl
|
||||
, jq
|
||||
, writeScript
|
||||
, dpkg
|
||||
, alsa-lib
|
||||
, cups
|
||||
, dbus
|
||||
, fontconfig
|
||||
, freetype
|
||||
, libGL
|
||||
, libsamplerate
|
||||
, makeDesktopItem
|
||||
, udev
|
||||
, libva
|
||||
, vaapiVdpau
|
||||
, libxkbcommon
|
||||
, nas
|
||||
, vulkan-loader
|
||||
, libX11
|
||||
, libXScrnSaver
|
||||
, libXcursor
|
||||
, libXext
|
||||
, libXi
|
||||
, libXinerama
|
||||
, libXrandr
|
||||
, libXrender
|
||||
, libXxf86vm
|
||||
, libxcb
|
||||
, openssl
|
||||
, extraPkgs ? [ ]
|
||||
}:
|
||||
|
||||
let
|
||||
version = "150-78";
|
||||
|
||||
src = stdenv.mkDerivation {
|
||||
name = "parsec-pkg";
|
||||
src = fetchurl {
|
||||
url = "https://s3.amazonaws.com/parsec-build/package/parsec-linux.deb";
|
||||
hash = "sha256-wwBy86TdrHaH9ia40yh24yd5G84WTXREihR+9I6o6uU=";
|
||||
};
|
||||
phases = [ "buildPhase" ];
|
||||
buildInputs = [ dpkg ];
|
||||
buildPhase = ''
|
||||
mkdir $out
|
||||
dpkg-deb -x $src $out
|
||||
# dpkg-deb makes $out group-writable, which nix doesn't like
|
||||
chmod 755 $out
|
||||
mv $out/usr/* $out
|
||||
rmdir $out/usr
|
||||
'';
|
||||
};
|
||||
|
||||
launchScript = writeScript "update-appdata-and-launch-parsec" ''
|
||||
#! ${stdenv.shell}
|
||||
set -exuo pipefail
|
||||
curl=${curl}/bin/curl
|
||||
jq=${jq}/bin/jq
|
||||
|
||||
pushd $HOME
|
||||
|
||||
if [ ! -d .parsec ]; then
|
||||
rm -f .parsec
|
||||
mkdir .parsec
|
||||
fi
|
||||
|
||||
cd .parsec
|
||||
|
||||
outdated=""
|
||||
if [ ! -e appdata.json ]; then
|
||||
outdated=y
|
||||
else
|
||||
so_version=$($jq -r .so_name appdata.json | grep -o '[0-9]\+-[0-9]\+')
|
||||
[[ "${version}" > "$so_version" ]] && outdated=y
|
||||
fi
|
||||
|
||||
if [ "$outdated" ]; then
|
||||
rm -f appdata.json
|
||||
$curl -L -o appdata.json https://builds.parsecgaming.com/channel/release/appdata/linux/latest
|
||||
so_name=$($jq -r .so_name appdata.json)
|
||||
if [ ! -e $so_name ]; then
|
||||
$curl -L -O https://builds.parsecgaming.com/channel/release/binary/linux/gz/$so_name
|
||||
fi
|
||||
fi
|
||||
|
||||
popd
|
||||
/usr/bin/parsecd
|
||||
'';
|
||||
|
||||
linkAlsaConf = stdenv.mkDerivation {
|
||||
name = "parsec-alsa-conf";
|
||||
buildCommand = ''
|
||||
mkdir -p $out/etc
|
||||
cd $out/etc
|
||||
ln -s /host/etc/alsa alsa
|
||||
'';
|
||||
};
|
||||
|
||||
fhsEnv = buildFHSUserEnv {
|
||||
name = "parsec-fhs-wrapper";
|
||||
targetPkgs = pkgs: [
|
||||
alsa-lib
|
||||
cups
|
||||
dbus
|
||||
src
|
||||
fontconfig
|
||||
freetype
|
||||
libGL
|
||||
libsamplerate
|
||||
udev
|
||||
libva
|
||||
vaapiVdpau
|
||||
libxkbcommon
|
||||
nas
|
||||
vulkan-loader
|
||||
libX11
|
||||
libXScrnSaver
|
||||
libXcursor
|
||||
libXext
|
||||
libXi
|
||||
libXinerama
|
||||
libXrandr
|
||||
libXrender
|
||||
libXxf86vm
|
||||
libxcb
|
||||
openssl
|
||||
stdenv.cc.cc.lib
|
||||
linkAlsaConf
|
||||
# Those libraries are missing from buildInputs
|
||||
# libGLES_CM.so.1 # Can't find in my /nix/store
|
||||
# libudev.so.0 # Covered by libudev.so.1
|
||||
# libva.so.1 # Covered by libva.so.2
|
||||
# libwayland-client.so.0 # No wayland support
|
||||
# libwayland-cursor.so.0 # No wayland support
|
||||
# libwayland-egl.so.1 # No wayland support
|
||||
] ++ extraPkgs;
|
||||
runScript = launchScript;
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "parsec";
|
||||
inherit version;
|
||||
|
||||
nativeBuildInputs = [ copyDesktopItems ];
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "parsec";
|
||||
desktopName = "Parsec";
|
||||
comment = "Simple, low-latency game streaming.";
|
||||
exec = "parsec %u";
|
||||
icon = "parsecd";
|
||||
categories = [ "Network" "Game" "Utility" ];
|
||||
})
|
||||
];
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
runHook preInstall
|
||||
mkdir $out/bin
|
||||
ln -s ${fhsEnv}/bin/parsec-fhs-wrapper $out/bin/parsec
|
||||
for d in ${src}/share/icons/hicolor/*; do
|
||||
install -Dm0644 -t $out/share/icons/hicolor/$(basename $d)/apps/ $d/apps/parsecd.png
|
||||
done
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple, low-latency game streaming.";
|
||||
homepage = "https://parsec.app";
|
||||
license = licenses.unfree;
|
||||
};
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, writeScript
|
||||
,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "proton-ge-custom";
|
||||
version = "GE-Proton8-3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${version}/${version}.tar.gz";
|
||||
sha256 = "sha256-JYGwb0LhIs6B2/OHiU+mJ/dAAS+Dg+MrVksAsn6IS9g=";
|
||||
};
|
||||
|
||||
passthru.runUpdate = true;
|
||||
# passthru.updateScript = ./update.sh;
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
tar -C $out/bin --strip=1 -x -f $src
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Compatibility tool for Steam Play based on Wine and additional components";
|
||||
homepage = "https://github.com/GloriousEggroll/proton-ge-custom";
|
||||
license = licenses.bsd3;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ ataraxiasjel ];
|
||||
};
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, tinycc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "protonhax";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jcnils";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-3s1pmHcQy/xJS6ke0Td3tkXAhXcTuJ4mb3Dtpxb2/6o=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
make
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -d -m755 $out/bin
|
||||
install -m755 protonhax $out/bin/protonhax
|
||||
install -m755 envload $out/bin/envload
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
tinycc
|
||||
];
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "reshade-shaders";
|
||||
version = "4497a45";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crosire";
|
||||
repo = "reshade-shaders";
|
||||
rev = "a2314cbf9a6c96de4d434b2f9ab8fa9265b8e575";
|
||||
sha256 = "07lvybc8x1633ynsq0z23hkq6jg97k339sh6fd0d8kk8n123z1xw";
|
||||
};
|
||||
|
||||
buildPhase = "";
|
||||
|
||||
installPhase = ''
|
||||
install -dm 755 $out/share/reshade/shaders
|
||||
install -Dm 644 Shaders/*.* $out/share/reshade/shaders/
|
||||
install -dm 755 $out/share/reshade/textures
|
||||
install -Dm 644 Textures/*.* $out/share/reshade/textures/
|
||||
'';
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, gtk-engine-murrine
|
||||
, jdupes
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rosepine-gtk-theme";
|
||||
version = "unstable-2022-09-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Rose-Pine-GTK-Theme";
|
||||
rev = "1ffc697c6bed594c262647b0ec01e5f3de5a5e77";
|
||||
sha256 = "1psdrf3hfq8h7lhz75j4780r5p9l6cjmsrpfwhk4yyi4hbyk1n9c";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jdupes ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/themes
|
||||
cp -a themes/Rosepine* $out/share/themes
|
||||
|
||||
# Replace duplicate files with hardlinks to the first file in each
|
||||
# set of duplicates, reducing the installed size
|
||||
jdupes -L -r $out/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GTK theme with the Rosé Pine colour palette";
|
||||
homepage = "https://github.com/Fausto-Korpsvart/Rose-Pine-GTK-Theme";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, gtk-engine-murrine
|
||||
, jdupes
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rosepine-icon-theme";
|
||||
version = "unstable-2022-09-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Rose-Pine-GTK-Theme";
|
||||
rev = "1ffc697c6bed594c262647b0ec01e5f3de5a5e77";
|
||||
sha256 = "1psdrf3hfq8h7lhz75j4780r5p9l6cjmsrpfwhk4yyi4hbyk1n9c";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jdupes ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
cp -a icons/Rose-Pine* $out/share/icons
|
||||
|
||||
# Replace duplicate files with hardlinks to the first file in each
|
||||
# set of duplicates, reducing the installed size
|
||||
jdupes -L -r $out/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GTK theme with the Rosé Pine colour palette";
|
||||
homepage = "https://github.com/Fausto-Korpsvart/Rose-Pine-GTK-Theme";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
{ runCommand, fetchzip }:
|
||||
let
|
||||
pname = "carddav";
|
||||
version = "5.0.1";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mstilkerich/rcmcarddav/releases/download/v${version}/carddav-v${version}.tar.gz";
|
||||
sha256 = "sha256-qB4cif4lK9IejOqPexp5RmcGrNGcB1h6cxcGFYhZvRA=";
|
||||
};
|
||||
in runCommand "roundcube-plugin-${pname}-${version}" {
|
||||
inherit pname version src;
|
||||
} ''
|
||||
mkdir -p $out/plugins/
|
||||
cp -r ${src} $out/plugins/${pname}
|
||||
''
|
@ -1,4 +0,0 @@
|
||||
(self: super: {
|
||||
roundcubePlugins.carddav = self.callPackage ./carddav.nix { };
|
||||
roundcubePlugins.persistent_login = self.callPackage ./persistent_login.nix { };
|
||||
})
|
@ -1,14 +0,0 @@
|
||||
{ runCommand, fetchzip }:
|
||||
let
|
||||
pname = "persistent_login";
|
||||
version = "5.3.0";
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mfreiholz/persistent_login/archive/refs/tags/version-${version}.tar.gz";
|
||||
sha256 = "sha256-q1G3ZjyLmWYZ6lia93Ajbl72rHlrqP4uAEjx63XAx+E=";
|
||||
};
|
||||
in runCommand "roundcube-plugin-${pname}-${version}" {
|
||||
inherit pname version src;
|
||||
} ''
|
||||
mkdir -p $out/plugins/
|
||||
cp -r ${src} $out/plugins/${pname}
|
||||
''
|
@ -1,57 +0,0 @@
|
||||
{ fetchFromGitHub
|
||||
, pkgconfig
|
||||
, stdenv
|
||||
, autoreconfHook
|
||||
, lib
|
||||
, libsearpc
|
||||
, libuuid
|
||||
, libtool
|
||||
, libevent
|
||||
, sqlite
|
||||
, openssl
|
||||
, fuse
|
||||
, vala
|
||||
, intltool
|
||||
, jansson
|
||||
, curl
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "seadrive-fuse";
|
||||
version = "2.0.22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "haiwen";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zzUg3ukV3bf0X+LYDmDgB6TXfDx388q4RvVCAnKzauE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkgconfig
|
||||
];
|
||||
buildInputs = [
|
||||
libsearpc
|
||||
libuuid
|
||||
libtool
|
||||
libevent
|
||||
sqlite
|
||||
openssl.dev
|
||||
fuse
|
||||
vala
|
||||
intltool
|
||||
jansson
|
||||
curl
|
||||
python3
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/haiwen/seadrive-fuse";
|
||||
description = "SeaDrive daemon with FUSE interface";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [];
|
||||
};
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, gtk-engine-murrine
|
||||
, jdupes
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tokyonight-gtk-theme";
|
||||
version = "unstable-2022-06-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Tokyo-Night-GTK-Theme";
|
||||
rev = "39edc3409c39b2d1ed0b5dd9f8defe9a412acd43";
|
||||
sha256 = "sha256-CJ4kDi/Z2X4nihtiieP6b6YJWuGzr6LfOBipAXa8ZwI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jdupes ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/themes
|
||||
cp -a themes/Tokyonight* $out/share/themes
|
||||
|
||||
# Replace duplicate files with hardlinks to the first file in each
|
||||
# set of duplicates, reducing the installed size
|
||||
jdupes -L -r $out/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GTK theme based on the Tokyo Night colour palette";
|
||||
homepage = "https://github.com/Fausto-Korpsvart/Tokyo-Night-GTK-Theme";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tokyonight-icon-theme";
|
||||
version = "unstable-2022-06-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Tokyo-Night-GTK-Theme";
|
||||
rev = "39edc3409c39b2d1ed0b5dd9f8defe9a412acd43";
|
||||
sha256 = "sha256-CJ4kDi/Z2X4nihtiieP6b6YJWuGzr6LfOBipAXa8ZwI=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/icons
|
||||
cp -a icons/* $out/share/icons
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GTK theme based on the Tokyo Night colour palette";
|
||||
homepage = "https://github.com/Fausto-Korpsvart/Tokyo-Night-GTK-Theme";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, lzip
|
||||
, sqlite
|
||||
, util-linux
|
||||
, makeBinaryWrapper
|
||||
}: let
|
||||
py = python3.withPackages (pythonPackages: with pythonPackages; [
|
||||
tqdm
|
||||
requests
|
||||
dbus-python
|
||||
]);
|
||||
in stdenv.mkDerivation {
|
||||
name = "waydroid-script";
|
||||
version = "master";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "waydroid_script";
|
||||
owner = "casualsnek";
|
||||
rev = "6c78b793c8405874b4be5b46527f81bca3f14c08";
|
||||
hash = "sha256-Wkbm3/PihXCrGCMrRTfBM/OA1gXwafXlW5m7fvkOPOU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r {stuffs,tools} $out/bin
|
||||
cp main.py $out/bin/waydroid-script
|
||||
chmod +x $out/bin/waydroid-script
|
||||
sed -i '1i #!${py}/bin/python' $out/bin/waydroid-script
|
||||
wrapProgram $out/bin/waydroid-script --prefix PATH : ${lib.makeBinPath [ lzip sqlite util-linux ]}
|
||||
'';
|
||||
}
|
@ -62,7 +62,7 @@
|
||||
# iconTheme = "tokyonight_dark";
|
||||
# iconPackage = pkgs.tokyonight-icon-theme;
|
||||
iconTheme = "Rose-Pine";
|
||||
iconPackage = pkgs.rosepine-icon-theme;
|
||||
iconPackage = pkgs.rosepine-gtk-icons;
|
||||
|
||||
cursorPackage = pkgs.bibata-cursors-tokyonight;
|
||||
# cursorPackage = pkgs.bibata-cursors;
|
||||
|
Loading…
x
Reference in New Issue
Block a user