pkgs: reformat codebase

This commit is contained in:
Gabriel Arazas 2025-01-15 14:00:12 +08:00
parent 30515bd5ac
commit 4a21a0a136
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
33 changed files with 145 additions and 470 deletions

View File

@ -1,7 +1,4 @@
{ lib
, fetchFromGitHub
, buildGoModule
}:
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "base16-builder-go";

View File

@ -1,9 +1,4 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, imageio
, openimageio
}:
{ lib, buildPythonPackage, fetchFromGitHub, imageio, openimageio }:
buildPythonPackage rec {
pname = "blender-blendergis";

View File

@ -1,7 +1,4 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
{ lib, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "blender-machin3tools";

View File

@ -1,8 +1,4 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
{ lib, fetchFromGitHub, buildGoModule, }:
buildGoModule rec {
pname = "ctrld";

View File

@ -23,6 +23,7 @@ in lib.makeScope pkgs.newScope (self: {
distant = callPackage ./distant.nix { };
gnome-search-provider-recoll =
callPackage ./gnome-search-provider-recoll.nix { };
#graphite-design-tool = callPackage ./graphite-design-tool { };
go-avahi-cname = callPackage ./go-avahi-cname { };
hush-shell = callPackage ./hush-shell.nix { };
lazyjj = callPackage ./lazyjj { };
@ -43,6 +44,10 @@ in lib.makeScope pkgs.newScope (self: {
swh = callPackage ./software-heritage {
python3Packages = pkgs.python310Packages;
};
#pd-l2ork = callPackage ./pd-l2ork { };
#rotp-modnar = callPackage ./rotp-modnar { };
#rotp-fusion = callPackage ./rotp-fusion { };
#purrdata = callPackage ./purr-data { };
speki = callPackage ./speki { };
tic-80 = callPackage ./tic-80 { };
smile = callPackage ./smile { };

View File

@ -1,10 +1,4 @@
{ stdenv
, lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
}:
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
version = "0.20.0";

View File

@ -1,33 +1,14 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, desktop-file-utils
, pkg-config
, libwebsockets
, ncurses
, openssl
, unixtools
, zlib
, rustPlatform
, perl
, qtbase
, qtwebchannel
, qtwebengine
, wrapQtAppsHook
{ lib, stdenv, fetchFromGitHub, autoreconfHook, desktop-file-utils, pkg-config
, libwebsockets, ncurses, openssl, unixtools, zlib, rustPlatform, perl, qtbase
, qtwebchannel, qtwebengine, wrapQtAppsHook
, withQtDocking ? false
, withKddockwidgets ? false
, kddockwidgets
, withKddockwidgets ? false, kddockwidgets
, withAsciidoctor ? true
, asciidoctor
, withAsciidoctor ? true, asciidoctor
, withDocbook ? true
, docbook-xsl-ns
, libxslt
}:
, withDocbook ? true, docbook-xsl-ns, libxslt }:
stdenv.mkDerivation rec {
pname = "domterm";
@ -40,11 +21,8 @@ stdenv.mkDerivation rec {
hash = "sha256-H1Nzqzz7dv4j9hkb08FCExLeq69EkFNXGzhhl/e+uxI=";
};
configureFlags = [
"--with-libwebsockets"
"--enable-compiled-in-resources"
"--with-qt"
]
configureFlags =
[ "--with-libwebsockets" "--enable-compiled-in-resources" "--with-qt" ]
++ lib.optional withAsciidoctor "--with-asciidoctor"
++ lib.optional withQtDocking "--with-qt-docking"
++ lib.optional withKddockwidgets "--with-kddockwidgets"
@ -68,13 +46,9 @@ stdenv.mkDerivation rec {
perl
unixtools.xxd
zlib
]
++ lib.optional withKddockwidgets kddockwidgets
] ++ lib.optional withKddockwidgets kddockwidgets
++ lib.optional withAsciidoctor asciidoctor
++ lib.optionals withDocbook [
docbook-xsl-ns
libxslt
];
++ lib.optionals withDocbook [ docbook-xsl-ns libxslt ];
meta = with lib; {
homepage = "https://domterm.org/";

View File

@ -1,10 +1,4 @@
{ lib
, rustPlatform
, fetchFromGitHub
, cmake
, pkg-config
, openssl
}:
{ lib, rustPlatform, fetchFromGitHub, cmake, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "fastn";
@ -20,7 +14,8 @@ rustPlatform.buildRustPackage rec {
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"fastn-observer-0.1.0" = "sha256-D7ch6zB1xw54vGbpcQ3hf+zG11Le/Fy01W3kHhc8bOg=";
"fastn-observer-0.1.0" =
"sha256-D7ch6zB1xw54vGbpcQ3hf+zG11Le/Fy01W3kHhc8bOg=";
};
};
@ -28,9 +23,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ openssl ];
checkFlags = [
"--skip=tests::fbt"
];
checkFlags = [ "--skip=tests::fbt" ];
meta = with lib; {
homepage = "https://fastn.com/";

View File

@ -1,22 +1,6 @@
{ stdenv
, lib
, fetchFromGitLab
, rustPlatform
, cargo
, rustc
, meson
, ninja
, pkg-config
, glib
, gobject-introspection
, libadwaita
, wrapGAppsHook4
, openssl
, appstream-glib
, desktop-file-utils
, blueprint-compiler
, flatpak
}:
{ stdenv, lib, fetchFromGitLab, rustPlatform, cargo, rustc, meson, ninja
, pkg-config, glib, gobject-introspection, libadwaita, wrapGAppsHook4, openssl
, appstream-glib, desktop-file-utils, blueprint-compiler, flatpak }:
stdenv.mkDerivation (finalAttrs: {
pname = "flatsync";
@ -52,12 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
wrapGAppsHook4
];
buildInputs = [
glib
flatpak
libadwaita
openssl
];
buildInputs = [ glib flatpak libadwaita openssl ];
meta = with lib; {
homepage = "https://gitlab.gnome.org/Cogitri/flatsync";

View File

@ -1,14 +1,5 @@
{ stdenv
, lib
, fetchurl
, autoreconfHook
, recoll
, python3Packages
, glib
, gobject-introspection
, wrapGAppsHook3
, gnome-shell
}:
{ stdenv, lib, fetchurl, autoreconfHook, recoll, python3Packages, glib
, gobject-introspection, wrapGAppsHook3, gnome-shell }:
python3Packages.buildPythonPackage rec {
pname = "gnome-search-provider-recoll";

View File

@ -1,4 +1,5 @@
{ rustPlatform, cargo-tauri_1, fetchFromGitHub, wrapGAppsHook, wasm-bindgen-cli, pkg-config, lib }:
{ rustPlatform, cargo-tauri_1, fetchFromGitHub, wrapGAppsHook, wasm-bindgen-cli
, pkg-config, lib }:
rustPlatform.buildRustPackage rec {
pname = "graphite-design-tool";
@ -14,11 +15,13 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true;
cargoHash = "sha256-+p9bpj+cSd0Bkpg+e4lwo4C7XqxZBc0McYYsNxAqzaA=";
nativeBuildInputs = [ cargo-tauri_1 pkg-config wrapGAppsHook wasm-bindgen-cli ];
nativeBuildInputs =
[ cargo-tauri_1 pkg-config wrapGAppsHook wasm-bindgen-cli ];
meta = with lib; {
homepage = "https://graphite.rs/";
description = "2D vector & raster editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow";
description =
"2D vector & raster editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow";
license = licenses.asl20;
maintainers = with maintainers; [ foo-dogsquared ];
mainProgram = "graphite";

View File

@ -1,9 +1,4 @@
{ stdenv
, lib
, fetchFromGitHub
, rustPlatform
, toybox
}:
{ stdenv, lib, fetchFromGitHub, rustPlatform, toybox }:
rustPlatform.buildRustPackage rec {
pname = "hush";
@ -23,10 +18,8 @@ rustPlatform.buildRustPackage rec {
'';
checkInputs = [ toybox ];
checkFlags = [
"--skip=tests::test_token_kind_size"
"--skip=tests::test_positive"
];
checkFlags =
[ "--skip=tests::test_token_kind_size" "--skip=tests::test_positive" ];
meta = with lib; {
homepage = "https://github.com/hush-shell/hush";

View File

@ -1,14 +1,7 @@
{
lib,
rustPlatform,
fetchFromGitHub,
jujutsu,
}:
{ lib, rustPlatform, fetchFromGitHub, jujutsu, }:
let
version = "0.3.1";
in
rustPlatform.buildRustPackage {
let version = "0.3.1";
in rustPlatform.buildRustPackage {
inherit version;
pname = "lazyjj";

View File

@ -1,12 +1,4 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, SDL2
, xorg
, xwayland
, libconfig
}:
{ stdenv, lib, fetchFromGitHub, cmake, SDL2, xorg, xwayland, libconfig }:
stdenv.mkDerivation rec {
pname = "lwp";
@ -20,12 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
buildInputs = [
SDL2
xorg.libX11
xwayland
libconfig
];
buildInputs = [ SDL2 xorg.libX11 xwayland libconfig ];
# TODO: Add conditional for Mac systems.
postPatch = ''
@ -36,9 +23,7 @@ stdenv.mkDerivation rec {
--replace "usr/local" "${placeholder "out"}"
'';
cmakeFlags = [
"-DPROGRAM_VERSION=${version}"
];
cmakeFlags = [ "-DPROGRAM_VERSION=${version}" ];
meta = with lib; {
homepage = "https://github.com/jszczerbinsky/lwp";

View File

@ -1,14 +1,5 @@
{ stdenv
, lib
, fetchFromGitLab
, glib
, nautilus
, gtksourceview5
, libadwaita
, autoreconfHook
, wrapGAppsHook4
, pkg-config
}:
{ stdenv, lib, fetchFromGitLab, glib, nautilus, gtksourceview5, libadwaita
, autoreconfHook, wrapGAppsHook4, pkg-config }:
stdenv.mkDerivation rec {
pname = "nautilus-annotations";
@ -22,18 +13,10 @@ stdenv.mkDerivation rec {
hash = "sha256-BivnmsACnpxdd6FV+ncdDd5ZwtJSSzNExoiCXeXIFkA=";
};
nativeBuildInputs = [
autoreconfHook
glib
nautilus
pkg-config
wrapGAppsHook4
];
nativeBuildInputs =
[ autoreconfHook glib nautilus pkg-config wrapGAppsHook4 ];
buildInputs = [
libadwaita
gtksourceview5
];
buildInputs = [ libadwaita gtksourceview5 ];
preConfigure = ''
./bootstrap

View File

@ -1,14 +1,5 @@
{ stdenv,
lib,
fetchFromGitHub,
autoreconfHook,
bison,
fftw,
libtool,
libjack2,
bluez,
udev
}:
{ stdenv, lib, fetchFromGitHub, autoreconfHook, bison, fftw, libtool, libjack2
, bluez, udev }:
stdenv.mkDerivation (finalAttrs: {
pname = "pd-l2ork";
@ -21,17 +12,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-A+ETptD1R+Pb4r2qgD0YxV7KYeAb9iLBwENhYQyjBc4=";
};
nativeBuildInputs = [
libtool
];
nativeBuildInputs = [ libtool ];
buildInputs = [
bison
fftw
libjack2
bluez
udev
];
buildInputs = [ bison fftw libjack2 bluez udev ];
meta = with lib; {
homepage = "http://l2ork.music.vt.edu/";

View File

@ -1,9 +1,4 @@
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
}:
{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "pigeon-mail";
@ -18,9 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-MRSO89qg08GyyIuzEpSO4qQTZS876U3SeGJ6eCO+3BA=";
env = {
OPENSSL_NO_VENDOR = "1";
};
env = { OPENSSL_NO_VENDOR = "1"; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];

View File

@ -1,14 +1,5 @@
{ stdenv,
lib,
fetchFromGitHub,
bison,
fftw,
libtool,
libjack2,
bluez,
udev,
wget,
}:
{ stdenv, lib, fetchFromGitHub, bison, fftw, libtool, libjack2, bluez, udev
, wget, }:
stdenv.mkDerivation (finalAttrs: {
pname = "pd-l2ork";
@ -21,26 +12,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-A+ETptD1R+Pb4r2qgD0YxV7KYeAb9iLBwENhYQyjBc4=";
};
nativeBuildInputs = [
libtool
];
nativeBuildInputs = [ libtool ];
buildInputs = [
bison
fftw
libjack2
bluez
udev
wget
];
buildInputs = [ bison fftw libjack2 bluez udev wget ];
preBuild = ''
patchShebangs l2ork_addons/*.sh
'';
buildFlags = [
"prefix=${placeholder "out"}"
];
buildFlags = [ "prefix=${placeholder "out"}" ];
meta = with lib; {
homepage = "http://l2ork.music.vt.edu/";

View File

@ -1,9 +1,4 @@
{ lib,
fetchFromGitHub,
maven,
libwebp,
vorbis-tools,
}:
{ lib, fetchFromGitHub, maven, libwebp, vorbis-tools, }:
maven.buildMavenPackage rec {
pname = "rotp-fusion";
@ -20,10 +15,7 @@ maven.buildMavenPackage rec {
mvnHash = "";
nativeBuildInputs = [
libwebp
vorbis-tools
];
nativeBuildInputs = [ libwebp vorbis-tools ];
meta = with lib; {
description = "Mod of Remnants of the Precursors with more features";

View File

@ -1,8 +1,4 @@
{
lib,
rotp,
fetchFromGitHub,
}:
{ lib, rotp, fetchFromGitHub, }:
rotp.overrideAttrs (finalAttrs: prevAttrs: {
src = fetchFromGitHub {

View File

@ -1,19 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, meson
, ninja
, pkg-config
, coreutils
, glib
, gobject-introspection
, xorg
, udev
, wireplumber
, pipewire
, perl
, python3Packages
}:
{ lib, fetchFromGitHub, fetchpatch, meson, ninja, pkg-config, coreutils, glib
, gobject-introspection, xorg, udev, wireplumber, pipewire, perl
, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "sessiond";
@ -29,34 +16,21 @@ python3Packages.buildPythonPackage rec {
patches = [
(fetchpatch {
url = "https://github.com/jcrd/sessiond/commit/217ed63e2033c46c637e0564ef44ceaedff3e102.patch";
url =
"https://github.com/jcrd/sessiond/commit/217ed63e2033c46c637e0564ef44ceaedff3e102.patch";
hash = "sha256-/GFPwJ4OBskavUJYhR5LGpt+HZABDOCpx6cVYDCYTNE=";
})
./0002-meson-Add-python-sessiond-installation.patch
];
nativeBuildInputs = [
meson
ninja
pkg-config
glib
gobject-introspection
perl
];
nativeBuildInputs =
[ meson ninja pkg-config glib gobject-introspection perl ];
buildInputs = [
udev
xorg.libXi
xorg.libX11
xorg.libXext
wireplumber
pipewire
];
buildInputs =
[ udev xorg.libXi xorg.libX11 xorg.libXext wireplumber pipewire ];
propagatedBuildInputs = with python3Packages; [
dbus-python
];
propagatedBuildInputs = with python3Packages; [ dbus-python ];
postPatch = ''
substituteInPlace ./systemd/sessiond.service \

View File

@ -1,19 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, appstream-glib
, desktop-file-utils
, gettext
, glib
, gtk4
, libwnck
, wrapGAppsHook4
, pkg-config
, python3Packages
, gobject-introspection
}:
{ stdenv, lib, fetchFromGitHub, meson, ninja, appstream-glib, desktop-file-utils
, gettext, glib, gtk4, libwnck, wrapGAppsHook4, pkg-config, python3Packages
, gobject-introspection }:
python3Packages.buildPythonApplication rec {
pname = "smile";
@ -49,9 +36,7 @@ python3Packages.buildPythonApplication rec {
wrapGAppsHook4
];
propagatedNativeBuildInputs = [
gobject-introspection
];
propagatedNativeBuildInputs = [ gobject-introspection ];
propagatedBuildInputs = with python3Packages; [
pygobject3
@ -59,10 +44,7 @@ python3Packages.buildPythonApplication rec {
dbus-python
];
buildInputs = [
libwnck
gtk4
];
buildInputs = [ libwnck gtk4 ];
dontWrapGApps = true;
preFixup = ''

View File

@ -13,11 +13,7 @@ buildPythonPackage rec {
doCheck = false;
propagatedBuildInputs = [
aiohttp
gunicorn
python-mimeparse
];
propagatedBuildInputs = [ aiohttp gunicorn python-mimeparse ];
meta = with lib; {
homepage = "https://github.com/sloria/aiohttp-utils";

View File

@ -10,10 +10,7 @@ buildPythonPackage rec {
sha256 = "sha256-YybB5RxP0v/8ndYH3sBsMa3WTu29N6ZR6oj2Y6N8Pxg";
};
propagatedBuildInputs = [
setuptools-scm
attrs
];
propagatedBuildInputs = [ setuptools-scm attrs ];
meta = with lib; {
homepage = "https://github.com/bloomberg/attrs-strict";

View File

@ -1,16 +1,16 @@
{ lib, callPackage, newScope, python3Packages, ... }:
lib.fix' (self:
let
callPackage = newScope self;
in
lib.recurseIntoAttrs {
let callPackage = newScope self;
in lib.recurseIntoAttrs {
attrs-strict = callPackage ./attrs-strict.nix { inherit python3Packages; };
aiohttp-utils = callPackage ./aiohttp-utils.nix { inherit python3Packages; };
aiohttp-utils =
callPackage ./aiohttp-utils.nix { inherit python3Packages; };
swh-fuse = callPackage ./swh-fuse.nix { inherit python3Packages; };
swh-core = callPackage ./swh-core.nix { inherit python3Packages; };
swh-model = callPackage ./swh-model.nix { inherit python3Packages; };
swh-web-client = callPackage ./swh-web-client.nix { inherit python3Packages; };
swh-web-client =
callPackage ./swh-web-client.nix { inherit python3Packages; };
swh-auth = callPackage ./swh-auth.nix { inherit python3Packages; };
})
})

View File

@ -28,7 +28,8 @@ buildPythonPackage rec {
pname = "python_keycloak";
hash = "sha256-zIaBJvU1qk8yDcnqsk5GrzgcE7zIjZsHAbBCk+p1zSQ=";
};
propagatedBuildInputs = prev.propagatedBuildInputs ++ [ setuptools deprecation ];
propagatedBuildInputs = prev.propagatedBuildInputs
++ [ setuptools deprecation ];
}))
swh-core

View File

@ -1,10 +1,4 @@
{ rustPlatform
, lib
, fetchFromGitHub
, pkg-config
, openssl
, alsa-lib
}:
{ rustPlatform, lib, fetchFromGitHub, pkg-config, openssl, alsa-lib }:
rustPlatform.buildRustPackage rec {
pname = "speki";
@ -17,9 +11,7 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-cvtMXtg2c9T4CaWAobagS9pW4pX4Q+nwdBvP+9A0er0=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
cargoLock = { lockFile = ./Cargo.lock; };
env.OPENSSL_NO_VENDOR = "1";
nativeBuildInputs = [ pkg-config ];

View File

@ -15,9 +15,12 @@ rustPlatform.buildRustPackage rec {
lockFile = "${src}/Cargo.lock";
outputHashes = {
"genai-0.1.7-wip" = "sha256-peqM0rBLnL4F0M6o8CO/+ttv9eOLV4VkDEy2e4x7dn0=";
"htpasswd-verify-0.3.0" = "sha256-GbkY590xWEZ+lVT9nffs4HIRW6CwBjll4rGIk27waxo=";
"posthog-rs-0.2.3" = "sha256-1HxOEzc8GROStxuxG0cfCNa4iA04sCD7jD6uWT5bl2o=";
"serde_json_borrow-0.7.0" = "sha256-UcgIWjdSCkYRYxEcWbwQs+BxX41ITqkvFSFtzEJchVk=";
"htpasswd-verify-0.3.0" =
"sha256-GbkY590xWEZ+lVT9nffs4HIRW6CwBjll4rGIk27waxo=";
"posthog-rs-0.2.3" =
"sha256-1HxOEzc8GROStxuxG0cfCNa4iA04sCD7jD6uWT5bl2o=";
"serde_json_borrow-0.7.0" =
"sha256-UcgIWjdSCkYRYxEcWbwQs+BxX41ITqkvFSFtzEJchVk=";
};
};

View File

@ -1,50 +1,24 @@
# Build the TIC-80 virtual computer console with the PRO version. The
# developers are kind enough to make it easy to compile it if you know
# how.
{ stdenv
, lib
, SDL2
, SDL2_sound
, alsa-lib
, cmake
, fetchFromGitHub
, freeglut
, git
, gtk3
, dbus
, libGLU
, libX11
, libglvnd
, libsamplerate
, mesa
, pkg-config
, sndio
{ stdenv, lib, SDL2, SDL2_sound, alsa-lib, cmake, fetchFromGitHub, freeglut, git
, gtk3, dbus, libGLU, libX11, libglvnd, libsamplerate, mesa, pkg-config, sndio
, zlib
, pulseaudioSupport ? stdenv.isLinux
, libpulseaudio
, pulseaudioSupport ? stdenv.isLinux, libpulseaudio
, waylandSupport ? true
, wayland
, libxkbcommon
, libdecor
, waylandSupport ? true, wayland, libxkbcommon, libdecor
, esoundSupport ? true
, espeak
, esoundSupport ? true, espeak
, jackSupport ? true
, jack2
, jackSupport ? true, jack2
# Ruby support requires compiling mruby so we'll skip it for now.
, rubySupport ? false
, ruby
, rake
# Ruby support requires compiling mruby so we'll skip it for now.
, rubySupport ? false, ruby, rake
, pythonSupport ? true
, python3
, pythonSupport ? true, python3
, withPro ? true
}:
, withPro ? true }:
# TODO: Fix the timestamp in the help section.
stdenv.mkDerivation rec {
@ -73,14 +47,9 @@ stdenv.mkDerivation rec {
SDL2_sound
zlib
sndio
]
++ lib.optional pulseaudioSupport libpulseaudio
++ lib.optional jackSupport jack2
++ lib.optional esoundSupport espeak
++ lib.optionals rubySupport [
ruby
rake
]
] ++ lib.optional pulseaudioSupport libpulseaudio
++ lib.optional jackSupport jack2 ++ lib.optional esoundSupport espeak
++ lib.optionals rubySupport [ ruby rake ]
++ lib.optional pythonSupport python3
++ lib.optionals (stdenv.isLinux && waylandSupport) [
wayland

View File

@ -1,13 +1,7 @@
{ lib
, python311Packages
, fetchFromGitHub
, meson
, ninja
, pkg-config
{ lib, python311Packages, fetchFromGitHub, meson, ninja, pkg-config
# This is for substituting shebangs in its plugins.
, coreutils
}:
# This is for substituting shebangs in its plugins.
, coreutils }:
python311Packages.buildPythonPackage rec {
pname = "uwsm";
@ -21,20 +15,11 @@ python311Packages.buildPythonPackage rec {
hash = "sha256-n80FZ6rEguTN9ouEqI+bc5FOSeFQ8ynV+XDL2K/ZIxI=";
};
patches = [
./0001-chore-add-build-backend-for-pyproject.patch
];
patches = [ ./0001-chore-add-build-backend-for-pyproject.patch ];
nativeBuildInputs = [
meson
ninja
pkg-config
];
nativeBuildInputs = [ meson ninja pkg-config ];
propagatedBuildInputs = with python311Packages; [
pyxdg
dbus-python
];
propagatedBuildInputs = with python311Packages; [ pyxdg dbus-python ];
postFixup = ''
substituteInPlace $out/share/uwsm/plugins/*.sh \

View File

@ -1,15 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, wrapQtAppsHook
, qtbase
, cmake
, python3
, harfbuzz
, freetype
, libGLU
, git
}:
{ stdenv, lib, fetchFromGitHub, wrapQtAppsHook, qtbase, cmake, python3, harfbuzz
, freetype, libGLU, git }:
stdenv.mkDerivation rec {
pname = "vgc";
@ -23,20 +13,11 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
patches = [
./patches/set-reproducible-build.patch
];
patches = [ ./patches/set-reproducible-build.patch ];
nativeBuildInputs = [ wrapQtAppsHook cmake ];
buildInputs = [
python3
git
freetype
harfbuzz
libGLU
qtbase
];
buildInputs = [ python3 git freetype harfbuzz libGLU qtbase ];
meta = with lib; {
homepage = "https://www.vgc.io/";

View File

@ -1,7 +1,4 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule {
pname = "willow";
@ -19,10 +16,7 @@ buildGoModule {
meta = with lib; {
homepage = "https://github.com/Amolith/willow";
description = "Forge-agnostic release tracker";
license = with licenses; [
mit
asl20
];
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ foo-dogsquared ];
mainProgram = "willow";
platforms = platforms.unix;

View File

@ -1,16 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, boost
, boehmgc
, bison
, meson
, ninja
, pkg-config
, libffi
, readline
, git
}:
{ stdenv, lib, fetchFromGitHub, boost, boehmgc, bison, meson, ninja, pkg-config
, libffi, readline, git }:
stdenv.mkDerivation rec {
pname = "xs";
@ -23,20 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Yx6zWLZlnlckZyTljgTVCjCPtNfUbM+o4RfuOPpn8ZQ=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
nativeBuildInputs = [ meson ninja pkg-config ];
buildInputs = [
boost
bison
boehmgc
libffi
readline
git
];
buildInputs = [ boost bison boehmgc libffi readline git ];
patches = [ ./update-build.patch ];
postPatch = ''
@ -45,7 +23,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://github.com/TieDyedDevil/XS";
description = "Extensible shell with functional semantics and conventional syntax";
description =
"Extensible shell with functional semantics and conventional syntax";
# See doc/ANCENSTORS and doc/COPYING files for more details.
license = licenses.publicDomain;