Merge master into staging-next
This commit is contained in:
@@ -4976,6 +4976,12 @@
|
||||
githubId = 424946;
|
||||
name = "James Earl Douglas";
|
||||
};
|
||||
EBADBEEF = {
|
||||
name = "EBADBEEF";
|
||||
email = "errno@ebadf.com";
|
||||
github = "EBADBEEF";
|
||||
githubId = 4167946;
|
||||
};
|
||||
ebbertd = {
|
||||
email = "daniel@ebbert.nrw";
|
||||
github = "ebbertd";
|
||||
|
||||
@@ -333,6 +333,8 @@
|
||||
|
||||
- The `woodpecker-*` CI packages have been updated to 1.0.0. This release is wildly incompatible with the 0.15.X versions that were previously packaged. Please read [upstream's documentation](https://woodpecker-ci.org/docs/next/migrations#100) to learn how to update your CI configurations.
|
||||
|
||||
- Meilisearch was updated from 1.3.1 to 1.5.0. The update has breaking changes about backslashes and filtering. See the [release announcement](https://blog.meilisearch.com/v1-4-release/) for more information.
|
||||
|
||||
- The Caddy module gained a new option named `services.caddy.enableReload` which is enabled by default. It allows reloading the service instead of restarting it, if only a config file has changed. This option must be disabled if you have turned off the [Caddy admin API](https://caddyserver.com/docs/caddyfile/options#admin). If you keep this option enabled, you should consider setting [`grace_period`](https://caddyserver.com/docs/caddyfile/options#grace-period) to a non-infinite value to prevent Caddy from delaying the reload indefinitely.
|
||||
|
||||
- mdraid support is now optional. This reduces initramfs size and prevents the potentially undesired automatic detection and activation of software RAID pools. It is disabled by default in new configurations (determined by `stateVersion`), but the appropriate settings will be generated by `nixos-generate-config` when installing to a software RAID device, so the standard installation procedure should be unaffected. If you have custom configs relying on mdraid, ensure that you use `stateVersion` correctly or set `boot.swraid.enable` manually. On systems with an updated `stateVersion` we now also emit warnings if `mdadm.conf` does not contain the minimum required configuration necessary to run the dynamically enabled monitoring daemons.
|
||||
|
||||
@@ -58,6 +58,10 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
prompt = {
|
||||
enable = mkEnableOption "automatically sourcing git-prompt.sh. This does not change $PS1; it simply provides relevant utility functions";
|
||||
};
|
||||
|
||||
lfs = {
|
||||
enable = mkEnableOption (lib.mdDoc "git-lfs");
|
||||
|
||||
@@ -89,6 +93,11 @@ in
|
||||
};
|
||||
};
|
||||
})
|
||||
(mkIf (cfg.enable && cfg.prompt.enable) {
|
||||
environment.interactiveShellInit = ''
|
||||
source ${cfg.package}/share/bash-completion/completions/git-prompt.sh
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
meta.maintainers = with maintainers; [ figsoda ];
|
||||
|
||||
+32
-1
@@ -11,9 +11,37 @@ import ../make-test-python.nix ({ pkgs, lib, ... }: {
|
||||
lxd.ui.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = [ pkgs.curl ];
|
||||
environment.systemPackages =
|
||||
let
|
||||
seleniumScript = pkgs.writers.writePython3Bin "selenium-script"
|
||||
{
|
||||
libraries = with pkgs.python3Packages; [ selenium ];
|
||||
} ''
|
||||
from selenium import webdriver
|
||||
from selenium.webdriver.common.by import By
|
||||
from selenium.webdriver.firefox.options import Options
|
||||
from selenium.webdriver.support.ui import WebDriverWait
|
||||
|
||||
options = Options()
|
||||
options.add_argument("--headless")
|
||||
service = webdriver.FirefoxService(executable_path="${lib.getExe pkgs.geckodriver}") # noqa: E501
|
||||
|
||||
driver = webdriver.Firefox(options=options, service=service)
|
||||
driver.implicitly_wait(10)
|
||||
driver.get("https://localhost:8443/ui")
|
||||
|
||||
wait = WebDriverWait(driver, 60)
|
||||
|
||||
assert len(driver.find_elements(By.CLASS_NAME, "l-application")) > 0
|
||||
assert len(driver.find_elements(By.CLASS_NAME, "l-navigation__drawer")) > 0
|
||||
|
||||
driver.close()
|
||||
'';
|
||||
in
|
||||
with pkgs; [ curl firefox-unwrapped geckodriver seleniumScript ];
|
||||
};
|
||||
|
||||
|
||||
testScript = ''
|
||||
machine.wait_for_unit("sockets.target")
|
||||
machine.wait_for_unit("lxd.service")
|
||||
@@ -31,5 +59,8 @@ import ../make-test-python.nix ({ pkgs, lib, ... }: {
|
||||
|
||||
# Ensure the endpoint returns an HTML page with 'LXD UI' in the title
|
||||
machine.succeed("curl -kLs https://localhost:8443/ui | grep '<title>LXD UI</title>'")
|
||||
|
||||
# Ensure the application is actually rendered by the Javascript
|
||||
machine.succeed("PYTHONUNBUFFERED=1 selenium-script")
|
||||
'';
|
||||
})
|
||||
|
||||
@@ -1,16 +1,46 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config
|
||||
, libsndfile, libpulseaudio
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, autoconf
|
||||
, automake
|
||||
, libtool
|
||||
, libsndfile
|
||||
, libpulseaudio
|
||||
, espeak-ng
|
||||
, sonic
|
||||
, utf8cpp
|
||||
, AudioUnit
|
||||
}:
|
||||
|
||||
let
|
||||
version = "5.8.2";
|
||||
in stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ekho";
|
||||
inherit version;
|
||||
version = "9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hgneng";
|
||||
repo = "ekho";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VYN9tR3BJXd3UA0V5vqQJNItJe1e1knZ+S7tLeaeYYk=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
CXXFLAGS = [
|
||||
"-O0"
|
||||
"-I${lib.getDev utf8cpp}/include/utf8cpp"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoconf automake libtool ];
|
||||
|
||||
buildInputs = [ libsndfile libpulseaudio espeak-ng sonic utf8cpp ]
|
||||
++ lib.optionals stdenv.isDarwin [ AudioUnit ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Chinese text-to-speech software";
|
||||
homepage = "http://www.eguidedog.net/ekho.php";
|
||||
homepage = "http://www.eguidedog.net/ekho.php";
|
||||
longDescription = ''
|
||||
Ekho (余音) is a free, open source and multilingual text-to-speech (TTS)
|
||||
software. It supports Cantonese (Chinese dialect spoken in Hong Kong and
|
||||
@@ -18,22 +48,8 @@ in stdenv.mkDerivation rec {
|
||||
(a dialect in Taiwan), Tibetan, Ngangien (an ancient Chinese before
|
||||
Yuan Dynasty) and Korean (in trial).
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
hydraPlatforms = [];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ aaronjheng ];
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/e-guidedog/Ekho/${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0ym6lpcpsvwvsiwlzkl1509a2hljwcw7synngrmqjq1n49ww00nj";
|
||||
};
|
||||
|
||||
preConfigure = with lib; ''
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE ${optionalString stdenv.is64bit "-D_x86_64"}"
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -DEKHO_DATA_PATH=\"$out/share/ekho-data\""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libsndfile libpulseaudio ];
|
||||
}
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "hydrus";
|
||||
version = "552";
|
||||
version = "553";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hydrusnetwork";
|
||||
repo = "hydrus";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-MaS9WxYlbQ7V/2mrETKS0UyWb5IzCrSwDcp4UlVS3zk=";
|
||||
hash = "sha256-AQq5ljaxNzh0ZsoUqKgzz5kZKZMav99Jj8fI+e0wv7s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "albert";
|
||||
version = "0.22.14";
|
||||
version = "0.22.16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albertlauncher";
|
||||
repo = "albert";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-cAxdCjaCqEkwjL+OXW7ONkS7OpKfey3bUYmGzJyV+g8=";
|
||||
sha256 = "sha256-Cx3DCTBsJLk0PZhGhkqLN7U8VeIVrv3Hj1OUYoHBvKA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -32,11 +32,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "calibre";
|
||||
version = "7.0.0";
|
||||
version = "7.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.calibre-ebook.com/${finalAttrs.version}/calibre-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-VAnzacz/8LYCVMCjHXqd4B+NUFmiMqdxQqpyap+UMNc=";
|
||||
hash = "sha256-cKUV+tBZ5ZdXkoLdJPdURKnWP5B5gzCUQQehVQIRgko=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -15,16 +15,18 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "asn";
|
||||
version = "0.74";
|
||||
version = "0.75";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nitefood";
|
||||
repo = "asn";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-400I8aWQaPE7qCV/HqyPzuMmKpUyLc+RK7GCVgbt7JQ=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-XqP0Nx5pfYtM1xXxEDGooONj7nQ9UngJ9/AOZefnPV8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -Dv asn "$out/bin/asn"
|
||||
@@ -33,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
--prefix PATH : "${lib.makeBinPath [ curl whois bind mtr jq ipcalc grepcidr nmap aha ]}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "OSINT command line tool for investigating network data";
|
||||
longDescription = ''
|
||||
ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization /
|
||||
@@ -41,7 +43,8 @@ stdenv.mkDerivation rec {
|
||||
lookup API server / Web traceroute server
|
||||
'';
|
||||
homepage = "https://github.com/nitefood/asn";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ devhell ];
|
||||
changelog = "https://github.com/nitefood/asn/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ devhell ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "limesuite";
|
||||
version = "23.10.0";
|
||||
version = "23.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "myriadrf";
|
||||
repo = "LimeSuite";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-o58UNc4r+MQbH00727YTV17M7D29BbH8CgUXCORKk7E=";
|
||||
sha256 = "sha256-f1cXrkVCIc1MqTvlCUBFqzHLhIVueybVxipNZRlF2gE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
, fetchYarnDeps
|
||||
, yarn
|
||||
, nodejs
|
||||
, fixup_yarn_lock
|
||||
, prefetch-yarn-deps
|
||||
, glibcLocales
|
||||
, libiconv
|
||||
, Cocoa
|
||||
@@ -66,7 +66,7 @@ let
|
||||
inherit version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup_yarn_lock
|
||||
prefetch-yarn-deps
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
@@ -75,7 +75,7 @@ let
|
||||
runHook preBuild
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
fixup_yarn_lock yarn.lock
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache}
|
||||
yarn install --offline --frozen-lockfile --ignore-engines --ignore-scripts --no-progress
|
||||
patchShebangs node_modules
|
||||
|
||||
@@ -7,14 +7,14 @@ let
|
||||
apptainer = callPackage
|
||||
(import ./generic.nix rec {
|
||||
pname = "apptainer";
|
||||
version = "1.2.4";
|
||||
version = "1.2.5";
|
||||
projectName = "apptainer";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "apptainer";
|
||||
repo = "apptainer";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-VaVOepfjMBf8F56S1Clpn8HPw65MNQMoZsQguKQ4Sg0=";
|
||||
hash = "sha256-1XuqyNXyYrmIfqp8450z8+qET15hKVfj2v2iN9QPmDk=";
|
||||
};
|
||||
|
||||
# Update by running
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
# except in special cases. In most cases, use extraNativeBuildArgs instead
|
||||
, nativeImageBuildArgs ? [
|
||||
(lib.optionalString stdenv.isDarwin "-H:-CheckToolchain")
|
||||
(lib.optionalString (stdenv.isLinux && stdenv.isAarch64) "-H:PageSize=64K")
|
||||
"-H:Name=${executable}"
|
||||
"-march=compatibility"
|
||||
"--verbose"
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "apt";
|
||||
version = "2.7.6";
|
||||
version = "2.7.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/a/apt/apt_${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-hoP1Tv8L9U5R4CWzSL0HdND9Q3eZYW9IUSlWzxXAX2c=";
|
||||
hash = "sha256-07PztwFPblYbhsBZuJBA0MdCy6vFdlk8bvqg3Xsk3nc=";
|
||||
};
|
||||
|
||||
# cycle detection; lib can't be split
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
{ appimageTools
|
||||
, fetchurl
|
||||
, lib
|
||||
, makeWrapper
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "beekeeper-studio";
|
||||
version = "4.0.3";
|
||||
|
||||
plat = {
|
||||
aarch64-linux = "-arm64";
|
||||
x86_64-linux = "";
|
||||
}.${stdenv.hostPlatform.system};
|
||||
|
||||
hash = {
|
||||
aarch64-linux = "sha256-PdRGZedNMZtGPI6Za2T94yKXvk6JoMoAot/kFKsBqQs=";
|
||||
x86_64-linux = "sha256-P2HlCb0dai4cJlKcT9LLQ+njViD+oHS3KI2YdR5jR44=";
|
||||
}.${stdenv.hostPlatform.system};
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v${version}/Beekeeper-Studio-${version}${plat}.AppImage";
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
|
||||
extraInstallCommands = ''
|
||||
mv $out/bin/{${pname}-${version},${pname}}
|
||||
source "${makeWrapper}/nix-support/setup-hook"
|
||||
wrapProgram $out/bin/${pname} \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
|
||||
install -Dm444 ${appimageContents}/${pname}.desktop -t $out/share/applications/
|
||||
install -Dm444 ${appimageContents}/${pname}.png -t $out/share/pixmaps/
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Exec=AppRun --no-sandbox' 'Exec=${pname}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more. Linux, MacOS, and Windows";
|
||||
homepage = "https://www.beekeeperstudio.io";
|
||||
changelog = "https://github.com/beekeeper-studio/beekeeper-studio/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
mainProgram = "beekeeper-studio";
|
||||
maintainers = with maintainers; [ milogert alexnortung ];
|
||||
platforms = [ "aarch64-linux" "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
@@ -10,19 +10,30 @@
|
||||
, libmusicbrainz5
|
||||
, curl
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "cyanrip";
|
||||
version = "0.9.0";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cyanreg";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-gH/rWTRYX10Q2Y9oSaMu0bOy3SMbcSNmH3dkXHFAw90";
|
||||
repo = "cyanrip";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-sWgHf8S4GZDAIvMUf5KvGy2y0JcUbRS53IjArdgokqc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||
buildInputs = [ ffmpeg-headless libcdio libcdio-paranoia libmusicbrainz5 curl ];
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ffmpeg-headless
|
||||
libcdio
|
||||
libcdio-paranoia
|
||||
libmusicbrainz5
|
||||
curl
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/cyanreg/cyanrip";
|
||||
@@ -31,4 +42,4 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.zane ];
|
||||
};
|
||||
}
|
||||
})
|
||||
+2
-2
@@ -6,7 +6,7 @@
|
||||
|
||||
let
|
||||
pname = "lefthook";
|
||||
version = "1.5.2";
|
||||
version = "1.5.3";
|
||||
in
|
||||
buildGoModule rec {
|
||||
inherit pname version;
|
||||
@@ -15,7 +15,7 @@ buildGoModule rec {
|
||||
owner = "evilmartians";
|
||||
repo = "lefthook";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9lAgKHcUAhg3Z8fMNYu3JrjfSd0HaT7YhvjKlpLMi0E=";
|
||||
hash = "sha256-pC6kEDOXNcuMfDvXomPZVMWpS/aHR4P4pIhqNkXAGuc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/VLS7+nPERjIU7V2CzqXH69Z3/y+GKZbAFn+KcRKRuA=";
|
||||
+2
-2
@@ -6,11 +6,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "pkgconf";
|
||||
version = "2.0.3";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://distfiles.dereferenced.org/pkgconf/pkgconf-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-yr3zxHRSmFT3zM6Fc8WsaK00p+YhA3U1y8OYH2sjg2w=";
|
||||
hash = "sha256-Jm1YYe5RxSvHECk6HTZiKuFtBI1x7FYDSgLrnPlnd2E=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "lib" "dev" "man" "doc" ];
|
||||
@@ -2,16 +2,19 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "presenterm";
|
||||
version = "0.2.1";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mfontanini";
|
||||
repo = "presenterm";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-sXVMVU34gxZKGNye6hoyv07a7N7f6UbivA6thbSOeZA=";
|
||||
hash = "sha256-uwLVg/bURz2jLAQZgLujDR2Zewu5pcE9bwEBg/DQ4Iw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-PsDaXMws/8hEvAZwClQ4okGuryg1iKg0IBr7Xp2QYBE=";
|
||||
cargoHash = "sha256-tEgXqvSyScO/J/56ykCda3ERrTDQj5jCxlMEDof/fCA=";
|
||||
|
||||
# Skip test that currently doesn't work
|
||||
checkFlags = [ "--skip=execute::test::shell_code_execution" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A terminal based slideshow tool";
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
--- ./apps/zxtune-qt/ui/desktop/mainwindow.cpp.orig 2023-11-03 10:58:54.073651511 -0700
|
||||
+++ ./apps/zxtune-qt/ui/desktop/mainwindow.cpp 2023-11-03 10:59:08.900608850 -0700
|
||||
@@ -106,14 +106,9 @@
|
||||
Require(connect(actionReportBug, &QAction::triggered, this, &DesktopMainWindowImpl::ReportIssue));
|
||||
Require(connect(actionAboutQt, &QAction::triggered, this, &DesktopMainWindowImpl::ShowAboutQt));
|
||||
Require(connect(actionPreferences, &QAction::triggered, this, &DesktopMainWindowImpl::ShowPreferences));
|
||||
- if (Update::CheckOperation* op = Update::CheckOperation::Create(*this))
|
||||
- {
|
||||
- Require(connect(actionCheckUpdates, &QAction::triggered, op, &Update::CheckOperation::Execute));
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- actionCheckUpdates->setEnabled(false);
|
||||
- }
|
||||
+
|
||||
+ // Nix: disable update checks completely
|
||||
+ actionCheckUpdates->setEnabled(false);
|
||||
|
||||
Require(connect(Controls, &PlaybackControls::OnPrevious, MultiPlaylist, &Playlist::UI::ContainerView::Prev));
|
||||
Require(connect(Controls, &PlaybackControls::OnNext, MultiPlaylist, &Playlist::UI::ContainerView::Next));
|
||||
@@ -0,0 +1,148 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromBitbucket
|
||||
, nix-update-script
|
||||
, boost
|
||||
, zlib
|
||||
# File backends (for decoding and encoding)
|
||||
, withMp3 ? true
|
||||
, lame
|
||||
, withOgg ? true
|
||||
, libvorbis
|
||||
, withFlac ? true
|
||||
, flac
|
||||
# Audio backends (for playback)
|
||||
, withOpenal ? false
|
||||
, openal
|
||||
, withSDL ? false
|
||||
, SDL
|
||||
, withOss ? false
|
||||
, withAlsa ? stdenv.hostPlatform.isLinux
|
||||
, alsa-lib
|
||||
, withPulse ? stdenv.hostPlatform.isLinux
|
||||
, libpulseaudio
|
||||
# GUI audio player
|
||||
, withQt ? true
|
||||
, qt5
|
||||
, zip
|
||||
}:
|
||||
let
|
||||
dlopenBuildInputs = []
|
||||
++ lib.optional withMp3 lame
|
||||
++ lib.optional withOgg libvorbis
|
||||
++ lib.optional withFlac flac
|
||||
++ lib.optional withOpenal openal
|
||||
++ lib.optional withSDL SDL
|
||||
++ lib.optional withAlsa alsa-lib
|
||||
++ lib.optional withPulse libpulseaudio;
|
||||
supportWayland = (!stdenv.hostPlatform.isDarwin);
|
||||
platformName = "linux";
|
||||
staticBuildInputs = [ boost zlib ]
|
||||
++ lib.optional withQt (if (supportWayland) then qt5.qtwayland else qt5.qtbase);
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "zxtune";
|
||||
version = "5055";
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "zxtune";
|
||||
repo = "zxtune";
|
||||
rev = "r${version}";
|
||||
hash = "sha256-ABXGbzjdsPUuQnwZQOho4s2xRSDGzbZdA6/hCkBb7zE=";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "r([0-9]+)" ];
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = lib.optionals withQt [ zip qt5.wrapQtAppsHook ];
|
||||
|
||||
buildInputs = staticBuildInputs ++ dlopenBuildInputs;
|
||||
|
||||
patches = [
|
||||
./disable_updates.patch
|
||||
];
|
||||
|
||||
# Fix use of old OpenAL header path
|
||||
postPatch = ''
|
||||
substituteInPlace src/sound/backends/gates/openal_api.h \
|
||||
--replace "#include <OpenAL/" "#include <AL/"
|
||||
'';
|
||||
|
||||
buildPhase = let
|
||||
setOptionalSupport = name: var:
|
||||
"support_${name}=" + (if (var) then "1" else "");
|
||||
makeOptsCommon = [
|
||||
''-j$NIX_BUILD_CORES''
|
||||
''root.version=${src.rev}''
|
||||
''system.zlib=1''
|
||||
''platform=${platformName}''
|
||||
''includes.dirs.${platformName}="${lib.makeSearchPathOutput "dev" "include" buildInputs}"''
|
||||
''libraries.dirs.${platformName}="${lib.makeLibraryPath staticBuildInputs}"''
|
||||
''ld_flags="-Wl,-rpath=\"${lib.makeLibraryPath dlopenBuildInputs}\""''
|
||||
(setOptionalSupport "mp3" withMp3)
|
||||
(setOptionalSupport "ogg" withOgg)
|
||||
(setOptionalSupport "flac" withFlac)
|
||||
(setOptionalSupport "openal" withOpenal)
|
||||
(setOptionalSupport "sdl" withSDL)
|
||||
(setOptionalSupport "oss" withOss)
|
||||
(setOptionalSupport "alsa" withAlsa)
|
||||
(setOptionalSupport "pulseaudio" withPulse)
|
||||
];
|
||||
makeOptsQt = [
|
||||
''tools.uic=${qt5.qtbase.dev}/bin/uic''
|
||||
''tools.moc=${qt5.qtbase.dev}/bin/moc''
|
||||
''tools.rcc=${qt5.qtbase.dev}/bin/rcc''
|
||||
];
|
||||
in ''
|
||||
runHook preBuild
|
||||
make ${builtins.toString makeOptsCommon} -C apps/xtractor
|
||||
make ${builtins.toString makeOptsCommon} -C apps/zxtune123
|
||||
'' + lib.optionalString withQt ''
|
||||
make ${builtins.toString (makeOptsCommon ++ makeOptsQt)} -C apps/zxtune-qt
|
||||
'' + ''
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
# Libs from dlopenBuildInputs are found with dlopen. Do not shrink rpath. Can
|
||||
# check output of 'out/bin/zxtune123 --list-backends' to verify all plugins
|
||||
# load ("Status: Available" or "Status: Failed to load dynamic library...").
|
||||
dontPatchELF = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 bin/linux/release/xtractor -t $out/bin
|
||||
install -Dm755 bin/linux/release/zxtune123 -t $out/bin
|
||||
'' + lib.optionalString withQt ''
|
||||
install -Dm755 bin/linux/release/zxtune-qt -t $out/bin
|
||||
'' + ''
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# Only wrap the gui
|
||||
dontWrapQtApps = true;
|
||||
preFixup = lib.optionalString withQt ''
|
||||
wrapQtApp "$out/bin/zxtune-qt"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Crossplatform chiptunes player";
|
||||
longDescription = ''
|
||||
Chiptune music player with truly extensive format support. Supported
|
||||
formats/chips include AY/YM, ZX Spectrum, PC, Amiga, Atari, Acorn, Philips
|
||||
SAA1099, MOS6581 (Commodore 64), NES, SNES, GameBoy, Atari, TurboGrafX,
|
||||
Nintendo DS, Sega Master System, and more. Powered by vgmstream, OpenMPT,
|
||||
sidplay, and many other libraries.
|
||||
'';
|
||||
homepage = "https://zxtune.bitbucket.io/";
|
||||
license = licenses.gpl3;
|
||||
# zxtune supports mac and windows, but more work will be needed to
|
||||
# integrate with the custom make system (see platformName above)
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ EBADBEEF ];
|
||||
mainProgram = if withQt then "zxtune-qt" else "zxtune123";
|
||||
};
|
||||
}
|
||||
@@ -1,10 +1,27 @@
|
||||
diff --git a/__nix-prepend-search-paths.js b/__nix-prepend-search-paths.js
|
||||
new file mode 100644
|
||||
index 0000000..bf3071b
|
||||
--- /dev/null
|
||||
+++ b/__nix-prepend-search-paths.js
|
||||
@@ -0,0 +1,3 @@
|
||||
+import GIRepository from 'gi://GIRepository';
|
||||
+GIRepository.Repository.prepend_search_path('@gsound@/lib/girepository-1.0');
|
||||
+GIRepository.Repository.prepend_search_path('@libgda@/lib/girepository-1.0');
|
||||
diff --git a/extension.js b/extension.js
|
||||
index 26561f2..01209e7 100644
|
||||
index a3d6741..6a38850 100644
|
||||
--- a/extension.js
|
||||
+++ b/extension.js
|
||||
@@ -1,3 +1,5 @@
|
||||
+imports.gi.GIRepository.Repository.prepend_search_path('@gsound@/lib/girepository-1.0')
|
||||
+imports.gi.GIRepository.Repository.prepend_search_path('@libgda@/lib/girepository-1.0')
|
||||
|
||||
try {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
+import './__nix-prepend-search-paths.js';
|
||||
import Gio from 'gi://Gio';
|
||||
import GLib from 'gi://GLib';
|
||||
import Shell from 'gi://Shell';
|
||||
diff --git a/prefs.js b/prefs.js
|
||||
index 5dd94eb..634b2ef 100644
|
||||
--- a/prefs.js
|
||||
+++ b/prefs.js
|
||||
@@ -1,3 +1,4 @@
|
||||
+import './__nix-prepend-search-paths.js';
|
||||
import Gdk from 'gi://Gdk';
|
||||
import Gtk from 'gi://Gtk';
|
||||
import { ExtensionPreferences } from 'resource:///org/gnome/Shell/Extensions/js/extensions/prefs.js';
|
||||
|
||||
@@ -1,7 +1,100 @@
|
||||
{ config, lib, pkgs }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromSourcehut
|
||||
, binutils-unwrapped
|
||||
, harec
|
||||
, makeWrapper
|
||||
, qbe
|
||||
, scdoc
|
||||
}:
|
||||
|
||||
lib.makeScope pkgs.newScope (self: {
|
||||
let
|
||||
# We use harec's override of qbe until 1.2 is released, but the `qbe` argument
|
||||
# is kept to avoid breakage.
|
||||
qbe = harec.qbeUnstable;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hare";
|
||||
version = "unstable-2023-10-23";
|
||||
|
||||
harec = pkgs.callPackage ./harec { };
|
||||
hare = pkgs.callPackage ./hare { };
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~sircmpwn";
|
||||
repo = "hare";
|
||||
rev = "1048620a7a25134db370bf24736efff1ffcb2483";
|
||||
hash = "sha256-slQPIhrcM+KAVAvjuRnqNdEAEr4Xa4iQNVEpI7Wl+Ks=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
binutils-unwrapped
|
||||
harec
|
||||
makeWrapper
|
||||
qbe
|
||||
scdoc
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
binutils-unwrapped
|
||||
harec
|
||||
qbe
|
||||
];
|
||||
|
||||
# Append the distribution name to the version
|
||||
env.LOCALVER = "nix";
|
||||
|
||||
configurePhase =
|
||||
let
|
||||
# https://harelang.org/platforms/
|
||||
arch =
|
||||
if stdenv.isx86_64 then "x86_64"
|
||||
else if stdenv.isAarch64 then "aarch64"
|
||||
else if stdenv.hostPlatform.isRiscV && stdenv.is64bit then "riscv64"
|
||||
else "unsupported";
|
||||
platform =
|
||||
if stdenv.isLinux then "linux"
|
||||
else if stdenv.isFreeBSD then "freebsd"
|
||||
else "unsupported";
|
||||
in
|
||||
''
|
||||
runHook preConfigure
|
||||
|
||||
cp config.example.mk config.mk
|
||||
makeFlagsArray+=(
|
||||
PREFIX="${builtins.placeholder "out"}"
|
||||
HARECACHE="$(mktemp -d --tmpdir harecache.XXXXXXXX)"
|
||||
BINOUT="$(mktemp -d --tmpdir bin.XXXXXXXX)"
|
||||
PLATFORM="${platform}"
|
||||
ARCH="${arch}"
|
||||
)
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postFixup =
|
||||
let
|
||||
binPath = lib.makeBinPath [
|
||||
binutils-unwrapped
|
||||
harec
|
||||
qbe
|
||||
];
|
||||
in
|
||||
''
|
||||
wrapProgram $out/bin/hare --prefix PATH : ${binPath}
|
||||
'';
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
strictDeps = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://harelang.org/";
|
||||
description =
|
||||
"A systems programming language designed to be simple, stable, and robust";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ onemoresuza ];
|
||||
mainProgram = "hare";
|
||||
inherit (harec.meta) platforms badPlatforms;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
## Template to generate config.mk via substitute-all
|
||||
|
||||
# set PREFIX externally
|
||||
BINDIR = $(PREFIX)/bin
|
||||
MANDIR = $(PREFIX)/share/man
|
||||
SRCDIR = $(PREFIX)/src
|
||||
STDLIB = $(SRCDIR)/hare/stdlib
|
||||
|
||||
HAREPATH = $(SRCDIR)/hare/stdlib:$(SRCDIR)/hare/third-party
|
||||
|
||||
## Build configuration
|
||||
|
||||
# Platform to build for
|
||||
PLATFORM = @platform@
|
||||
ARCH = @arch@
|
||||
|
||||
# External tools and flags
|
||||
HAREC = harec
|
||||
HAREFLAGS = @hareflags@
|
||||
QBE = qbe
|
||||
AS = as
|
||||
LD = ld
|
||||
AR = ar
|
||||
SCDOC = scdoc
|
||||
|
||||
# Where to store build artifacts
|
||||
# set HARECACHE externally
|
||||
|
||||
# Cross-compiler toolchains
|
||||
# # TODO: fixup this
|
||||
AARCH64_AS=aarch64-as
|
||||
AARCH64_AR=aarch64-ar
|
||||
AARCH64_CC=aarch64-cc
|
||||
AARCH64_LD=aarch64-ld
|
||||
|
||||
RISCV64_AS=riscv64-as
|
||||
RISCV64_AR=riscv64-ar
|
||||
RISCV64_CC=riscv64-cc
|
||||
RISCV64_LD=riscv64-ld
|
||||
|
||||
X86_64_AS=as
|
||||
X86_64_AR=ar
|
||||
X86_64_CC=cc
|
||||
X86_64_LD=ld
|
||||
@@ -1,98 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromSourcehut
|
||||
, binutils-unwrapped
|
||||
, harePackages
|
||||
, makeWrapper
|
||||
, qbe
|
||||
, scdoc
|
||||
, substituteAll
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (harePackages) harec;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hare";
|
||||
version = "unstable-2023-04-23";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~sircmpwn";
|
||||
repo = "hare";
|
||||
rev = "464ec7a660b12ab1ef8e4dcc9d00604cec996c6e";
|
||||
hash = "sha256-5/ObckDxosqUkFfDVhGA/0kwjFzDUxu420nkfa97vqM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
binutils-unwrapped
|
||||
harec
|
||||
makeWrapper
|
||||
qbe
|
||||
scdoc
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
binutils-unwrapped
|
||||
harec
|
||||
qbe
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
configurePhase =
|
||||
let
|
||||
# https://harelang.org/platforms/
|
||||
arch =
|
||||
if stdenv.isx86_64 then "x86_64"
|
||||
else if stdenv.isAarch64 then "aarch64"
|
||||
else if stdenv.hostPlatform.isRiscV && stdenv.is64bit then "riscv64"
|
||||
else "unsupported";
|
||||
platform =
|
||||
if stdenv.isLinux then "linux"
|
||||
else if stdenv.isFreeBSD then "freebsd"
|
||||
else "unsupported";
|
||||
hareflags = "";
|
||||
config-file = substituteAll {
|
||||
src = ./config-template.mk;
|
||||
inherit arch platform hareflags;
|
||||
};
|
||||
in
|
||||
''
|
||||
runHook preConfigure
|
||||
|
||||
export HARECACHE="$NIX_BUILD_TOP/.harecache"
|
||||
export BINOUT="$NIX_BUILD_TOP/.bin"
|
||||
cat ${config-file} > config.mk
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall =
|
||||
let
|
||||
binPath = lib.makeBinPath [
|
||||
binutils-unwrapped
|
||||
harec
|
||||
qbe
|
||||
];
|
||||
in
|
||||
''
|
||||
wrapProgram $out/bin/hare --prefix PATH : ${binPath}
|
||||
'';
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
homepage = "http://harelang.org/";
|
||||
description =
|
||||
"A systems programming language designed to be simple, stable, and robust";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ onemoresuza ];
|
||||
inherit (harec.meta) platforms badPlatforms;
|
||||
};
|
||||
})
|
||||
@@ -1,45 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromSourcehut
|
||||
, qbe
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "harec";
|
||||
version = "unstable-2023-04-25";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~sircmpwn";
|
||||
repo = "harec";
|
||||
rev = "068e8da091f9053726251bc221abf40fdea630ff";
|
||||
hash = "sha256-PPR0d+6JJRzPURW7AznloBSrtylMJExNCGCxFMl2LsA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
qbe
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qbe
|
||||
];
|
||||
|
||||
# TODO: report upstream
|
||||
hardeningDisable = [ "fortify" ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://harelang.org/";
|
||||
description = "Bootstrapping Hare compiler written in C for POSIX systems";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ onemoresuza ];
|
||||
# The upstream developers do not like proprietary operating systems; see
|
||||
# https://harelang.org/platforms/
|
||||
# UPDATE: https://github.com/hshq/harelang provides a MacOS port
|
||||
platforms = with lib.platforms;
|
||||
lib.intersectLists (freebsd ++ linux) (aarch64 ++ x86_64 ++ riscv64);
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,63 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromSourcehut
|
||||
, qbe
|
||||
, fetchgit
|
||||
}:
|
||||
let
|
||||
# harec needs the dbgfile and dbgloc features implemented up to this commit.
|
||||
# This can be dropped once 1.2 is released, for a possible release date see:
|
||||
# https://lists.sr.ht/~mpu/qbe/%3CZPkmHE9KLohoEohE%40cloudsdale.the-delta.net.eu.org%3E
|
||||
qbe' = qbe.overrideAttrs (_old: {
|
||||
version = "1.1-unstable-2023-08-18";
|
||||
src = fetchgit {
|
||||
url = "git://c9x.me/qbe.git";
|
||||
rev = "36946a5142c40b733d25ea5ca469f7949ee03439";
|
||||
hash = "sha256-bqxWFP3/aw7kRoD6ictbFcjzijktHvh4AgWAXBIODW8=";
|
||||
};
|
||||
});
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "harec";
|
||||
version = "unstable-2023-10-22";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~sircmpwn";
|
||||
repo = "harec";
|
||||
rev = "64dea196ce040fbf3417e1b4fb11331688672aca";
|
||||
hash = "sha256-2Aeb+OZ/hYUyyxx6aTw+Oxiac+p+SClxtg0h68ZBSHc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
qbe'
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qbe'
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
# We create this attribute so that the `hare` package can access the
|
||||
# overwritten `qbe`.
|
||||
qbeUnstable = qbe';
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://harelang.org/";
|
||||
description = "Bootstrapping Hare compiler written in C for POSIX systems";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ onemoresuza ];
|
||||
mainProgram = "harec";
|
||||
# The upstream developers do not like proprietary operating systems; see
|
||||
# https://harelang.org/platforms/
|
||||
# UPDATE: https://github.com/hshq/harelang provides a MacOS port
|
||||
platforms = with lib.platforms;
|
||||
lib.intersectLists (freebsd ++ linux) (aarch64 ++ x86_64 ++ riscv64);
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
};
|
||||
})
|
||||
@@ -20,7 +20,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-EQm9+b3nqbMqUAejAsh4MD/2UYi2QiWsdKMomkxUi90=";
|
||||
};
|
||||
|
||||
patches = [ ./use-template-for-taskwarrior-install-path.patch ];
|
||||
patches = [
|
||||
./use-template-for-taskwarrior-install-path.patch
|
||||
# Remove when https://github.com/ralphbean/taskw/pull/151 is merged.
|
||||
./support-relative-path-in-taskrc.patch
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace taskw/warrior.py \
|
||||
--replace '@@taskwarrior@@' '${pkgs.taskwarrior}'
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
From 958b63ceec02b179482141cfb846ddbcae711a1b Mon Sep 17 00:00:00 2001
|
||||
From: Scott Mcdermott <scott@smemsh.net>
|
||||
Date: Sat, 28 Aug 2021 21:12:38 -0700
|
||||
Subject: [PATCH] RcFile: _read: try taskrc directory when trying to load
|
||||
includes
|
||||
|
||||
Taskwarrior itself tries includes as absolute path, then cwd, then
|
||||
relative to rcfile, then in various search paths (see
|
||||
GothenburgBitFactory/libshared -> src/Configuration.cpp ->
|
||||
Configuration::parse()).
|
||||
|
||||
We won't try to duplicate that whole arrangement here, but at least look
|
||||
relative to the rcfile in addition to cwd/absolute, like taskwarrior
|
||||
does. This will allow specification as relative path in most cases.
|
||||
Otherwise, we'd have to chdir anyways because includes are always tried
|
||||
as-is by taskw. They would only work if specified as absolute paths or
|
||||
if in cwd
|
||||
|
||||
We use a TaskRc() class variable to store the rcdir because there could
|
||||
be an include chain and all the instances will need to know the same
|
||||
one, but will be processing different paths, so we have to capture the
|
||||
directory of the first one processed, ie the base rcfile.
|
||||
|
||||
Fixes #150
|
||||
|
||||
Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
|
||||
---
|
||||
taskw/taskrc.py | 15 +++++++++++++++
|
||||
1 file changed, 15 insertions(+)
|
||||
|
||||
diff --git a/taskw/taskrc.py b/taskw/taskrc.py
|
||||
index 1b6f8e5..b72dee6 100644
|
||||
--- a/taskw/taskrc.py
|
||||
+++ b/taskw/taskrc.py
|
||||
@@ -1,5 +1,6 @@
|
||||
import logging
|
||||
import os
|
||||
+import os.path
|
||||
|
||||
from taskw.fields import (
|
||||
ChoiceField,
|
||||
@@ -39,6 +40,7 @@ class TaskRc(dict):
|
||||
|
||||
"""
|
||||
|
||||
+ rcdir = None
|
||||
UDA_TYPE_MAP = {
|
||||
'date': DateField,
|
||||
'duration': DurationField,
|
||||
@@ -54,6 +56,8 @@ class TaskRc(dict):
|
||||
path
|
||||
)
|
||||
)
|
||||
+ if not self.rcdir:
|
||||
+ TaskRc.rcdir = os.path.dirname(os.path.realpath(self.path))
|
||||
config = self._read(self.path)
|
||||
else:
|
||||
self.path = None
|
||||
@@ -92,6 +96,17 @@ class TaskRc(dict):
|
||||
|
||||
def _read(self, path):
|
||||
config = {}
|
||||
+ if not os.path.exists(path) and TaskRc.rcdir is not None:
|
||||
+ # include path may be given relative to dir of rcfile
|
||||
+ oldpath = path
|
||||
+ path = os.path.join(TaskRc.rcdir, oldpath)
|
||||
+ if not os.path.exists(path):
|
||||
+ logger.error(
|
||||
+ "rcfile does not exist, tried %s and %s",
|
||||
+ oldpath, path
|
||||
+ )
|
||||
+ raise FileNotFoundError
|
||||
+
|
||||
with open(path, 'r') as config_file:
|
||||
for raw_line in config_file.readlines():
|
||||
line = sanitize(raw_line)
|
||||
--
|
||||
2.42.0
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
, libiconv, postgresql, v8, clang, sqlite, zlib, imagemagick, lasem
|
||||
, pkg-config , ncurses, xapian, gpgme, util-linux, tzdata, icu, libffi
|
||||
, cmake, libssh2, openssl, openssl_1_1, libmysqlclient, git, perl, pcre, pcre2, gecode_3, curl
|
||||
, msgpack, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
|
||||
, msgpack, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, gtk3, buildRubyGem
|
||||
, cairo, expat, re2, rake, gobject-introspection, gdk-pixbuf, zeromq, czmq, graphicsmagick, libcxx
|
||||
, file, libvirt, glib, vips, taglib, libopus, linux-pam, libidn, protobuf, fribidi, harfbuzz
|
||||
, bison, flex, pango, python3, patchelf, binutils, freetds, wrapGAppsHook, atk
|
||||
, bundler, libsass, dart-sass, libexif, libselinux, libsepol, shared-mime-info, libthai, libdatrie
|
||||
, CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libmaxminddb, libyaml
|
||||
, CoreServices, DarwinTools, cctools, libtool, discount, exiv2, libepoxy, libxkbcommon, libmaxminddb, libyaml
|
||||
, autoSignDarwinBinariesHook, fetchpatch
|
||||
}@args:
|
||||
|
||||
@@ -232,6 +232,12 @@ in
|
||||
propagatedBuildInputs = [ gobject-introspection wrapGAppsHook gdk-pixbuf ];
|
||||
};
|
||||
|
||||
gdk3 = attrs: {
|
||||
nativeBuildInputs = [ pkg-config bundler rake ]
|
||||
++ lib.optionals stdenv.isDarwin [ DarwinTools ];
|
||||
propagatedBuildInputs = [ gobject-introspection wrapGAppsHook gdk-pixbuf cairo ];
|
||||
};
|
||||
|
||||
gpgme = attrs: {
|
||||
buildInputs = [ gpgme ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
@@ -320,6 +326,36 @@ in
|
||||
dontStrip = stdenv.isDarwin;
|
||||
};
|
||||
|
||||
gtk3 = attrs: {
|
||||
nativeBuildInputs = [
|
||||
binutils
|
||||
pkg-config
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
util-linux
|
||||
libselinux
|
||||
libsepol
|
||||
] ++ lib.optionals stdenv.isDarwin [ DarwinTools ];
|
||||
propagatedBuildInputs = [
|
||||
atk
|
||||
gdk-pixbuf
|
||||
fribidi
|
||||
gobject-introspection
|
||||
gtk3
|
||||
cairo
|
||||
harfbuzz
|
||||
libdatrie
|
||||
libthai
|
||||
pcre
|
||||
pcre2
|
||||
xorg.libpthreadstubs
|
||||
xorg.libXdmcp
|
||||
xorg.libXtst
|
||||
libxkbcommon
|
||||
libepoxy
|
||||
];
|
||||
dontStrip = stdenv.isDarwin;
|
||||
};
|
||||
|
||||
gobject-introspection = attrs: {
|
||||
nativeBuildInputs = [ pkg-config pcre2 ]
|
||||
++ lib.optionals stdenv.isDarwin [ DarwinTools ];
|
||||
|
||||
@@ -66,7 +66,7 @@ gem 'glib2'
|
||||
# gem 'gobject-introspection' fails on require
|
||||
gem 'gpgme'
|
||||
# gem 'grpc' fails to build
|
||||
gem 'gtk2'
|
||||
gem 'gtk3'
|
||||
gem 'hashie'
|
||||
gem 'highline'
|
||||
gem 'hike'
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "conan";
|
||||
version = "2.0.5";
|
||||
version = "2.0.14";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "conan-io";
|
||||
repo = "conan";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-+ohUOQ9WBER/X0TDklf/qZCm9LhM1I1QRmED4FnkweM=";
|
||||
hash = "sha256-zPN6OlEWYc/OvUb7LHF1/mZYrieG8n2bLcZ/IzwlvtE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
@@ -45,11 +45,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
pyopenssl
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
# This can be removed once conan is updated to 2.0.7+
|
||||
"PyYAML"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
pkg-config
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
{ lib, fetchurl, appimageTools, pkgs, makeWrapper }:
|
||||
|
||||
let
|
||||
pname = "beekeeper-studio";
|
||||
version = "3.6.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v${version}/Beekeeper-Studio-${version}.AppImage";
|
||||
name = "${pname}-${version}.AppImage";
|
||||
hash = "sha512-an4Gqx2mx/rnkLe/LUAz3qRdrqWBcrWcdCiNi8Hz1OKBp1SWN3acU8RppIM0uwlrcBkjnigbbM5DZ2o+svA23A==";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
inherit name src;
|
||||
};
|
||||
in
|
||||
appimageTools.wrapType2 {
|
||||
inherit name src;
|
||||
|
||||
multiArch = false; # no 32bit needed
|
||||
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
|
||||
|
||||
extraInstallCommands = ''
|
||||
ln -s $out/bin/${name} $out/bin/${pname}
|
||||
source "${makeWrapper}/nix-support/setup-hook"
|
||||
wrapProgram $out/bin/${pname} \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
|
||||
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
||||
install -m 444 -D ${appimageContents}/${pname}.png \
|
||||
$out/share/icons/hicolor/512x512/apps/${pname}.png
|
||||
substituteInPlace $out/share/applications/${pname}.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern and easy to use SQL client for MySQL, Postgres, SQLite, SQL Server, and more. Linux, MacOS, and Windows";
|
||||
homepage = "https://www.beekeeperstudio.io";
|
||||
changelog = "https://github.com/beekeeper-studio/beekeeper-studio/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ milogert alexnortung ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
@@ -22,6 +22,7 @@ buildGoModule rec {
|
||||
description = "Language server for golangci-lint";
|
||||
homepage = "https://github.com/nametake/golangci-lint-langserver";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ kirillrdy ];
|
||||
mainProgram = "golangci-lint-langserver";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -54,5 +54,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.getpsyched ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "atlauncher";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -97,5 +97,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ _360ied ];
|
||||
mainProgram = "ClassiCube";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -42,5 +42,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
license = licenses.unfree;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ gador ];
|
||||
mainProgram = "gamepad-tool";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -65,5 +65,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [];
|
||||
mainProgram = "ivan";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -130,5 +130,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ wyvie pstn cpu ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2Plus;
|
||||
mainProgram = "mudlet";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,5 +37,6 @@ to win.
|
||||
'';
|
||||
maintainers = with lib.maintainers; [ jcumming ];
|
||||
platforms = with lib.platforms; linux;
|
||||
mainProgram = "Ri_li";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,5 +41,6 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with maintainers; [ lom ];
|
||||
# steam only supports that platform
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "steam-tui";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,5 +48,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ ];
|
||||
# never built on aarch64-linux since first introduction in nixpkgs
|
||||
broken = stdenv.isLinux && stdenv.isAarch64;
|
||||
mainProgram = "stepmania";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
|
||||
description = "Simple shooting game with your cannon is sitting atop a teeter totter";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "teetertorture";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,5 +44,6 @@ stdenv.mkDerivation rec {
|
||||
Wingdows [TM], a virus cleverly designed to resemble a popular
|
||||
operating system.
|
||||
'';
|
||||
mainProgram = "xbill";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "zaz";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "zoom";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -65,5 +65,6 @@ clangStdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ artturin ];
|
||||
mainProgram = "ananicy-cpp";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -48,5 +48,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ artturin ];
|
||||
mainProgram = "ananicy";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.jagajaga ];
|
||||
mainProgram = "apulse";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,5 +18,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/rom1v/autoadb";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ shawn8901 ];
|
||||
mainProgram = "autoadb";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,5 +19,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
mainProgram = "autotiling-rs";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@ buildPythonApplication rec {
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ artturin ];
|
||||
mainProgram = "autotiling";
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -14,5 +14,6 @@ python3Packages.buildPythonPackage rec {
|
||||
description = "wow very terminal doge";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Gonzih ];
|
||||
mainProgram = "doge";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -78,5 +78,6 @@ buildGoModule rec {
|
||||
changelog = "https://github.com/fastly/cli/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ereslibre shyim ];
|
||||
mainProgram = "fastly";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -57,5 +57,6 @@ buildPythonApplication rec {
|
||||
maintainers = with maintainers; [ sepi ];
|
||||
platforms = platforms.all;
|
||||
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/frescobaldi.x86_64-darwin
|
||||
mainProgram = "frescobaldi";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,5 +30,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ jchw ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "lightspark";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,5 +17,6 @@ in stdenv.mkDerivation {
|
||||
license = lib.licenses.mit;
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "long-shebang";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,5 +27,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.unlicense;
|
||||
maintainers = with lib.maintainers; [ genericnerdyusername ];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "lssecret";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -76,5 +76,6 @@ in rustPlatform.buildRustPackage {
|
||||
changelog = "https://github.com/scottlamb/moonfire-nvr/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ gaelreyrol ];
|
||||
mainProgram = "moonfire-nvr";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,5 +22,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.colemickens ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "mxt-app";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,5 +30,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/phip1611/nflz";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ phip1611 ];
|
||||
mainProgram = "nflz";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -56,5 +56,6 @@ python3Packages.buildPythonApplication rec {
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ janik ];
|
||||
mainProgram = "opcua-client";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,5 +37,6 @@ python3.pkgs.buildPythonApplication rec{
|
||||
platforms = platforms.unix;
|
||||
description = "Run menubar commands, much like the Unity 7 Heads-Up Display (HUD)";
|
||||
maintainers = with maintainers; [ pasqui23 ];
|
||||
mainProgram = "plasma-hud";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,5 +27,6 @@ python3Packages.buildPythonPackage rec {
|
||||
homepage = "https://github.com/vinayak-mehta/present";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ lom ];
|
||||
mainProgram = "present";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,5 +30,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://mockmoon-cybernetics.ch/computer/p-touch2430pc/";
|
||||
maintainers = with maintainers; [ shamilton ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "ptouch-print";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,5 +45,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
# Next release will move to BSD3
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ koslambrou ];
|
||||
mainProgram = "pylode";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -75,5 +75,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
changelog = "https://github.com/Textualize/rich-cli/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ joelkoen ];
|
||||
mainProgram = "rich";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,5 +36,6 @@ python3Packages.buildPythonPackage rec {
|
||||
homepage = "https://github.com/flozz/rivalcfg";
|
||||
license = licenses.wtfpl;
|
||||
maintainers = with maintainers; [ ornxka ];
|
||||
mainProgram = "rivalcfg";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,5 +40,6 @@ stdenv.mkDerivation {
|
||||
description = "A tool from Rockchip to communicate with Rockusb devices (pine64 fork)";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ maintainers.adisbladis ];
|
||||
mainProgram = "rkdeveloptool";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@ stdenv.mkDerivation {
|
||||
description = "A tool from Rockchip to communicate with Rockusb devices";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.lopsided98 ];
|
||||
mainProgram = "rkdeveloptool";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,5 +44,6 @@ stdenv.mkDerivation rec {
|
||||
boat'';
|
||||
maintainers = with maintainers; [ kragniz ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "sailsd";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -74,5 +74,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ deltaevo msfjarvis ];
|
||||
mainProgram = "scrcpy";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,5 +69,6 @@ buildPythonApplication rec {
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ bjornfor orivej anthonyroussel ];
|
||||
mainProgram = "solfege";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,5 +33,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/sassman/t-rec-rs";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ hoverbear matthiasbeyer ];
|
||||
mainProgram = "t-rec";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -81,5 +81,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
mainProgram = "tpm2_ptool";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -21,5 +21,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/lostutils/uq";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ doronbehar matthiasbeyer ];
|
||||
mainProgram = "uq";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,5 +35,6 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ maintainers.matthew-levan ];
|
||||
license = licenses.mit;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = "urbit";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,5 +38,6 @@ rustPlatform.buildRustPackage rec {
|
||||
changelog = "https://github.com/Builditluc/wiki-tui/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lom builditluc matthiasbeyer ];
|
||||
mainProgram = "wiki-tui";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@ python3Packages.buildPythonApplication rec {
|
||||
homepage = "https://infertux.com/labs/zeyple/";
|
||||
maintainers = with maintainers; [ ettom ];
|
||||
license = licenses.agpl3Plus;
|
||||
mainProgram = "zeyple";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -83,5 +83,6 @@ buildGoModule rec {
|
||||
changelog = "https://github.com/alice-lg/alice-lg/blob/main/CHANGELOG.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ janik ];
|
||||
mainProgram = "alice-lg";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -23,5 +23,6 @@ buildGoPackage rec {
|
||||
changelog = "https://github.com/andreaskoch/allmark/-/releases/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ urandom ];
|
||||
mainProgram = "allmark";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,5 +33,6 @@ buildNpmPackage rec {
|
||||
homepage = "https://github.com/jfarseneau/antennas";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bachp ];
|
||||
mainProgram = "antennas";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,5 +18,6 @@ buildGoModule rec {
|
||||
homepage = "https://asouldocs.dev/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ivar anthonyroussel ];
|
||||
mainProgram = "asouldocs";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -72,5 +72,6 @@ in buildNpmPackage {
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.jvanbruegge ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "audiobookshelf";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -73,5 +73,6 @@ buildGoModule rec {
|
||||
'';
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ jk raitobezarius dit7ya ];
|
||||
mainProgram = "authelia";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -154,5 +154,6 @@ with python.pkgs; buildPythonApplication rec {
|
||||
homepage = "https://baserow.io";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
mainProgram = "baserow";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,5 +33,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ snapdgn ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "binserve";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@ buildGoModule rec {
|
||||
changelog = "https://github.com/alice-lg/birdwatcher/blob/master/CHANGELOG";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ janik ];
|
||||
mainProgram = "birdwatcher";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,5 +40,6 @@ buildGoModule rec {
|
||||
'';
|
||||
license = with licenses; [ agpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "confluencepot";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,5 +40,6 @@ buildNpmPackage rec {
|
||||
homepage = "https://v6.db.transport.rest/";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = with lib.maintainers; [ marie ];
|
||||
mainProgram = "db-rest";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,5 +24,6 @@ buildGoModule rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
broken = stdenv.isDarwin;
|
||||
mainProgram = "eris-go";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,5 +22,6 @@ buildGoModule rec {
|
||||
'';
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ balsoft ];
|
||||
mainProgram = "gnss-share";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -25,5 +25,6 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/L11R/go-autoconfig";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
mainProgram = "go-autoconfig";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -20,5 +20,6 @@ buildGoModule rec {
|
||||
description = "Share files with an expiration date";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
maintainers = [ lib.maintainers.lukaswrz ];
|
||||
mainProgram = "hiraeth";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,5 +47,6 @@ buildGoModule rec {
|
||||
description = "Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda urandom ];
|
||||
mainProgram = "imaginary";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -85,5 +85,6 @@ mkYarnPackage rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ camillemndn ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "jellyseerr";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,5 +36,6 @@ buildNpmPackage rec {
|
||||
homepage = "https://github.com/jitsi/excalidraw-backend";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ camillemndn ];
|
||||
mainProgram = "jitsi-excalidraw-backend";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
platforms = jdk17_headless.meta.platforms;
|
||||
maintainers = with maintainers; [ govanify ];
|
||||
mainProgram = "komga";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -31,5 +31,6 @@ buildGoModule rec {
|
||||
homepage = "https://git.lcomrade.su/root/lenpaste";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ vector1dev ];
|
||||
mainProgram = "lenpaste";
|
||||
};
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user