nix machine / user configurations

chore(treewide): remove unused packages

ptr.pet 26935bab 0e7c7c6f

verified
-22
pkgs-set/pkgs/discordo.nix
···
-
{
-
buildGoModule,
-
fetchFromGitHub,
-
...
-
}:
-
let
-
rev = "40e2e7e6a5533c1e0bd682cb7ccadf3e5bc5eae8";
-
shortRev = builtins.substring 0 8 rev;
-
in
-
buildGoModule {
-
pname = "discordo";
-
version = shortRev;
-
-
src = fetchFromGitHub {
-
owner = "ayntgl";
-
repo = "discordo";
-
inherit rev;
-
sha256 = "sha256-620PwT6RVrc3orD6Ny51kyMMdcQU5bZ1gSMJDJA7H2g=";
-
};
-
-
vendorSha256 = "sha256-XUoKEnLy88BAeUMZ19YS/vF1TksYroayQiyds5aQ3hI=";
-
}
···
-72
pkgs-set/pkgs/fluidsynth-dssi.nix
···
-
{
-
lib,
-
stdenv,
-
fetchurl,
-
alsa-lib,
-
autoconf,
-
automake,
-
dssi,
-
gtk2,
-
libjack2,
-
ladspaH,
-
ladspaPlugins,
-
liblo,
-
pkg-config,
-
fluidsynth,
-
rpm2targz,
-
libtool,
-
...
-
}:
-
stdenv.mkDerivation rec {
-
pname = "fluidsynth-dssi";
-
version = "1.9.9";
-
-
src = fetchurl {
-
url = "https://download.opensuse.org/source/distribution/leap/15.4/repo/oss/src/fluidsynth-dssi-1.9.9+git13012019-bp154.1.42.src.rpm";
-
sha256 = "sha256-DJSrdxQpjvQTzio6e3p/iSYJWu+AbydyKkeKsRQA6qc=";
-
};
-
-
nativeBuildInputs = [
-
autoconf
-
automake
-
pkg-config
-
rpm2targz
-
libtool
-
];
-
buildInputs = [
-
alsa-lib
-
dssi
-
gtk2
-
libjack2
-
ladspaH
-
ladspaPlugins
-
liblo
-
fluidsynth.dev
-
];
-
-
unpackPhase = ''
-
rpm2targz $src
-
tar -xf *.tar.gz
-
rm *.src.tar.gz
-
tar -xf *.tar.gz
-
rm *.diff
-
rm *.spec
-
rm *.tar.gz
-
cd fluidsynth-dssi-*
-
'';
-
configurePhase = ''
-
$SHELL autogen.sh
-
$SHELL configure
-
'';
-
installPhase = ''
-
mkdir -p $out/bin
-
mkdir -p $out/lib
-
cp src/FluidSynth-DSSI_gtk $out/bin
-
cp src/.libs/* $out/lib
-
'';
-
-
meta = with lib; {
-
license = licenses.gpl2Plus;
-
platforms = platforms.linux;
-
};
-
}
···
-123
pkgs-set/pkgs/fractal-next.nix
···
-
{
-
lib,
-
stdenv,
-
fetchFromGitLab,
-
nix-update-script,
-
meson,
-
cmake,
-
ninja,
-
gettext,
-
python3,
-
rustPlatform,
-
pkg-config,
-
glib,
-
libhandy,
-
libsecret,
-
libshumate,
-
gtk4,
-
gtksourceview5,
-
libadwaita,
-
llvmPackages,
-
glibc,
-
wayland,
-
pipewire,
-
dbus,
-
openssl,
-
sqlite,
-
gst_all_1,
-
cairo,
-
gdk-pixbuf,
-
gspell,
-
wrapGAppsHook,
-
desktop-file-utils,
-
appstream-glib,
-
...
-
}:
-
stdenv.mkDerivation rec {
-
pname = "fractal-next";
-
version = "26_10_2022";
-
-
src = fetchFromGitLab {
-
domain = "gitlab.gnome.org";
-
owner = "GNOME";
-
repo = "fractal";
-
rev = "c3d1bd7ac8c1374d887746acf614b5036ac2f95c";
-
sha256 = "sha256-UzlV9MSOtCSx7RNIbr2sv4y1Kxfqo/laWJBeNiGdrZI=";
-
};
-
-
cargoDeps = rustPlatform.fetchCargoTarball {
-
inherit src;
-
name = "${pname}-${version}";
-
sha256 = "sha256-E0x+0vtpJATagVzpQ57hMiiTxqFR1vFM2sN7W2e17fc=";
-
};
-
-
nativeBuildInputs = [
-
appstream-glib # for appstream-util
-
gettext
-
meson
-
ninja
-
pkg-config
-
python3
-
rustPlatform.rust.cargo
-
rustPlatform.cargoSetupHook
-
rustPlatform.rust.rustc
-
wrapGAppsHook
-
desktop-file-utils
-
glib
-
cmake
-
];
-
-
buildInputs = [
-
cairo
-
dbus
-
gdk-pixbuf
-
glib
-
gspell
-
gst_all_1.gst-editing-services
-
gst_all_1.gst-plugins-bad
-
gst_all_1.gst-plugins-base
-
(gst_all_1.gst-plugins-good.override {
-
gtkSupport = true;
-
})
-
gst_all_1.gstreamer
-
gst_all_1.gst-devtools
-
gtk4
-
gtksourceview5
-
libadwaita
-
wayland
-
pipewire
-
libhandy
-
openssl
-
libsecret
-
libshumate
-
];
-
-
# libspa-sys requires this for bindgen
-
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
-
# <spa-0.2/spa/utils/defs.h> included by libspa-sys requires <stdbool.h>
-
BINDGEN_EXTRA_CLANG_ARGS = "-I${llvmPackages.libclang.lib}/lib/clang/${lib.getVersion llvmPackages.clang}/include -I${glibc.dev}/include";
-
-
doCheck = false;
-
-
postPatch = ''
-
patchShebangs build-aux/meson_post_install.py
-
'';
-
-
passthru = {
-
updateScript = nix-update-script {
-
attrPath = pname;
-
};
-
};
-
-
meta = with lib; {
-
description = "Matrix group messaging app";
-
homepage = "https://gitlab.gnome.org/GNOME/fractal";
-
license = licenses.gpl3;
-
maintainers =
-
teams.gnome.members
-
++ (with maintainers; [
-
dtzWill
-
genofire
-
]);
-
};
-
}
···
-28
pkgs-set/pkgs/phantom.nix
···
-
{
-
stdenv,
-
libsForQt5,
-
...
-
}:
-
stdenv.mkDerivation {
-
pname = "phantomstyle";
-
version = "309c97";
-
-
src = builtins.fetchGit {
-
url = "https://github.com/randrew/phantomstyle.git";
-
rev = "309c97a955f6cdfb1987d1dd04c34d667e4bfce1";
-
};
-
-
dontWrapQtApps = true;
-
-
buildInputs = [ libsForQt5.qt5.qtbase ];
-
-
buildPhase = ''
-
cd src/styleplugin
-
qmake && make
-
'';
-
-
installPhase = ''
-
mkdir -p $out/$qtPluginPrefix/styles
-
mv libphantomstyleplugin.so $out/$qtPluginPrefix/styles
-
'';
-
}
···