mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 16:07:30 +03:00
Merge master into haskell-updates
This commit is contained in:
commit
35885ddb23
@ -64,6 +64,12 @@
|
|||||||
githubId = 64707304;
|
githubId = 64707304;
|
||||||
name = "Dmitry Kulikov";
|
name = "Dmitry Kulikov";
|
||||||
};
|
};
|
||||||
|
_0x120581f = {
|
||||||
|
email = "nixpkgs@0x120581f.dev";
|
||||||
|
name = "0x120581f";
|
||||||
|
github = "0x120581f";
|
||||||
|
githubId = 130835755;
|
||||||
|
};
|
||||||
_0x4A6F = {
|
_0x4A6F = {
|
||||||
email = "mail-maintainer@0x4A6F.dev";
|
email = "mail-maintainer@0x4A6F.dev";
|
||||||
matrix = "@0x4a6f:matrix.org";
|
matrix = "@0x4a6f:matrix.org";
|
||||||
|
@ -155,7 +155,7 @@ in
|
|||||||
description = "GNUnet";
|
description = "GNUnet";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
restartTriggers = [ configFile ];
|
restartTriggers = [ config.environment.etc."gnunet.conf".source ];
|
||||||
path = [ cfg.package pkgs.miniupnpc ];
|
path = [ cfg.package pkgs.miniupnpc ];
|
||||||
serviceConfig.ExecStart = "${cfg.package}/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet.conf";
|
serviceConfig.ExecStart = "${cfg.package}/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet.conf";
|
||||||
serviceConfig.User = "gnunet";
|
serviceConfig.User = "gnunet";
|
||||||
|
@ -103,6 +103,10 @@ in
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
User = "go2rtc";
|
User = "go2rtc";
|
||||||
|
SupplementaryGroups = [
|
||||||
|
# for v4l2 devices
|
||||||
|
"video"
|
||||||
|
];
|
||||||
StateDirectory = "go2rtc";
|
StateDirectory = "go2rtc";
|
||||||
ExecStart = "${cfg.package}/bin/go2rtc -config ${configFile}";
|
ExecStart = "${cfg.package}/bin/go2rtc -config ${configFile}";
|
||||||
};
|
};
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, config ? { }
|
, config ? { }
|
||||||
, pkgs ? import ../../.. { inherit system config; }
|
, pkgs ? import ../../.. { inherit system config; }
|
||||||
, lib ? pkgs.lib
|
, lib ? pkgs.lib
|
||||||
, kernelVersionsToTest ? [ "4.19" "5.4" "5.10" "5.15" "latest" ]
|
, kernelVersionsToTest ? [ "4.19" "5.4" "5.10" "5.15" "6.1" "latest" ]
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# For quickly running a test, the nixosTests.lvm2.lvm-thinpool-linux-latest attribute is recommended
|
# For quickly running a test, the nixosTests.lvm2.lvm-thinpool-linux-latest attribute is recommended
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ kernelPackages ? null }:
|
{ kernelPackages ? null }:
|
||||||
import ../make-test-python.nix ({ pkgs, ... }: {
|
import ../make-test-python.nix ({ pkgs, lib, ... }: {
|
||||||
name = "lvm2-thinpool";
|
name = "lvm2-thinpool";
|
||||||
meta.maintainers = with pkgs.lib.maintainers; [ ajs124 ];
|
meta.maintainers = with pkgs.lib.maintainers; [ ajs124 ];
|
||||||
|
|
||||||
@ -17,11 +17,13 @@ import ../make-test-python.nix ({ pkgs, ... }: {
|
|||||||
boot = lib.mkIf (kernelPackages != null) { inherit kernelPackages; };
|
boot = lib.mkIf (kernelPackages != null) { inherit kernelPackages; };
|
||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = let
|
||||||
|
mkXfsFlags = lib.optionalString (lib.versionOlder kernelPackages.kernel.version "5.10") "-m bigtime=0 -m inobtcount=0";
|
||||||
|
in ''
|
||||||
machine.succeed("vgcreate test_vg /dev/vdb")
|
machine.succeed("vgcreate test_vg /dev/vdb")
|
||||||
machine.succeed("lvcreate -L 512M -T test_vg/test_thin_pool")
|
machine.succeed("lvcreate -L 512M -T test_vg/test_thin_pool")
|
||||||
machine.succeed("lvcreate -n test_lv -V 16G --thinpool test_thin_pool test_vg")
|
machine.succeed("lvcreate -n test_lv -V 16G --thinpool test_thin_pool test_vg")
|
||||||
machine.succeed("mkfs.xfs /dev/test_vg/test_lv")
|
machine.succeed("mkfs.xfs ${mkXfsFlags} /dev/test_vg/test_lv")
|
||||||
machine.succeed("mkdir /mnt; mount /dev/test_vg/test_lv /mnt")
|
machine.succeed("mkdir /mnt; mount /dev/test_vg/test_lv /mnt")
|
||||||
assert "/dev/mapper/test_vg-test_lv" == machine.succeed("findmnt -no SOURCE /mnt").strip()
|
assert "/dev/mapper/test_vg-test_lv" == machine.succeed("findmnt -no SOURCE /mnt").strip()
|
||||||
machine.succeed("dd if=/dev/zero of=/mnt/empty.file bs=1M count=1024")
|
machine.succeed("dd if=/dev/zero of=/mnt/empty.file bs=1M count=1024")
|
||||||
|
32
pkgs/applications/audio/brutefir/default.nix
Normal file
32
pkgs/applications/audio/brutefir/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib, stdenv, fetchurl, alsa-lib, fftw, fftwFloat, flex, libjack2 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "brutefir";
|
||||||
|
version = "1.0o";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://torger.se/anders/files/brutefir-${version}.tar.gz";
|
||||||
|
sha256 = "caae4a933b53b55b29d6cb7e2803e20819f31def6d0e4e12f9a48351e6dbbe9f";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ flex ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
alsa-lib
|
||||||
|
fftw
|
||||||
|
fftwFloat
|
||||||
|
libjack2
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = "substituteInPlace bfconf.c --replace /usr/local $out";
|
||||||
|
|
||||||
|
installFlags = [ "INSTALL_PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://torger.se/anders/brutefir.html";
|
||||||
|
description = "A software convolution engine";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = with maintainers; [ auchter ];
|
||||||
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -5,13 +5,13 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "10.13";
|
version = "10.14";
|
||||||
pname = "monkeys-audio";
|
pname = "monkeys-audio";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://monkeysaudio.com/files/MAC_${
|
url = "https://monkeysaudio.com/files/MAC_${
|
||||||
builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip";
|
builtins.concatStringsSep "" (lib.strings.splitString "." version)}_SDK.zip";
|
||||||
sha256 = "sha256-r+Xjp5q7ehrF34j1FndiKZ+y+FTG1ORXS+9p+R2KbOQ=";
|
sha256 = "sha256-AsWBcEVyHAFzJd9PhbEA866yCGAmgJedvDUP1G7JfUY=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "erigon";
|
pname = "erigon";
|
||||||
version = "2.43.0";
|
version = "2.45.1";
|
||||||
in
|
in
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -11,11 +11,11 @@ buildGoModule {
|
|||||||
owner = "ledgerwatch";
|
owner = "ledgerwatch";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-3o7vu2bA8lB1CiVaSF6YU9WjwNliQAK5AcGl82GCqFg=";
|
sha256 = "sha256-uaEGshpAmCXIIcpN5Fx/VNUK8DgQp9yFm2xBDGz7FNo=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-JhMefeUxo9ksyCnNsLgAhGG0Ix7kxCA/cYyiELd0H64=";
|
vendorSha256 = "sha256-Yd78OW48HsOgxT5R3QT6/xDzPsRNFRE2nKocljTKKBA=";
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
# Build errors in mdbx when format hardening is enabled:
|
# Build errors in mdbx when format hardening is enabled:
|
||||||
|
@ -9,16 +9,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "regreet";
|
pname = "regreet";
|
||||||
version = "0.1.0";
|
version = "0.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rharish101";
|
owner = "rharish101";
|
||||||
repo = "ReGreet";
|
repo = "ReGreet";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-9Wae2sYiRpWYXdBKsSNKhG5RhIun/Ro9xIV4yl1/pUc=";
|
hash = "sha256-MPLlHYTfDyL2Uy50A4lVke9SblXCErgJ24SP3kFuIPw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-yDfUD5Uag3UM/2Q7ofvh6iGcB3n21m1gKo7SKqTWamc=";
|
cargoHash = "sha256-dR6veXCGVMr5TbCvP0EqyQKTG2XM65VHF9U2nRWyzfA=";
|
||||||
|
|
||||||
buildFeatures = [ "gtk4_8" ];
|
buildFeatures = [ "gtk4_8" ];
|
||||||
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, copyDesktopItems, unzip
|
{ lib, stdenv, fetchurl, makeWrapper, makeDesktopItem, copyDesktopItems, unzip
|
||||||
, appimage-run, nix-update-script }:
|
, appimage-run, nix-update-script }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "ldtk";
|
pname = "ldtk";
|
||||||
version = "1.3.2";
|
version = "1.3.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/deepnight/ldtk/releases/download/v${version}/ubuntu-distribution.zip";
|
url = "https://github.com/deepnight/ldtk/releases/download/v${finalAttrs.version}/ubuntu-distribution.zip";
|
||||||
hash = "sha256-8GiMm1Nb2jRLFWtGNsSfrW1jIi9yKCcyuUKwMEqoUZI=";
|
hash = "sha256-egvAe4nAzPDBeTaAzrqhlDsG60bGNnKXB5Vt16vIZrQ";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip makeWrapper copyDesktopItems appimage-run ];
|
nativeBuildInputs = [ unzip makeWrapper copyDesktopItems appimage-run ];
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
runHook preUnpack
|
runHook preUnpack
|
||||||
|
|
||||||
unzip $src
|
unzip $src
|
||||||
appimage-run -x src 'LDtk ${version} installer.AppImage'
|
appimage-run -x src 'LDtk ${finalAttrs.version} installer.AppImage'
|
||||||
|
|
||||||
runHook postUnpack
|
runHook postUnpack
|
||||||
'';
|
'';
|
||||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm644 'LDtk ${version} installer.AppImage' $out/share/ldtk.AppImage
|
install -Dm644 'LDtk ${finalAttrs.version} installer.AppImage' $out/share/ldtk.AppImage
|
||||||
makeWrapper ${appimage-run}/bin/appimage-run $out/bin/ldtk \
|
makeWrapper ${appimage-run}/bin/appimage-run $out/bin/ldtk \
|
||||||
--add-flags $out/share/ldtk.AppImage
|
--add-flags $out/share/ldtk.AppImage
|
||||||
install -Dm644 src/ldtk.png $out/share/icons/hicolor/1024x1024/apps/ldtk.png
|
install -Dm644 src/ldtk.png $out/share/icons/hicolor/1024x1024/apps/ldtk.png
|
||||||
@ -52,10 +52,10 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Modern, lightweight and efficient 2D level editor";
|
description = "Modern, lightweight and efficient 2D level editor";
|
||||||
homepage = "https://ldtk.io/";
|
homepage = "https://ldtk.io/";
|
||||||
changelog = "https://github.com/deepnight/ldtk/releases/tag/v${version}";
|
changelog = "https://github.com/deepnight/ldtk/releases/tag/v${finalAttrs.version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
maintainers = with maintainers; [ felschr ];
|
maintainers = with maintainers; [ felschr ];
|
||||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -19,17 +19,17 @@ let
|
|||||||
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
|
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||||
|
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "0kir1grd150gb7im6yx2l16hi43wwsi8q3dlpgah4m7na064xgyd";
|
x86_64-linux = "13yd42jqlzjxg5afs05ph2z4xwsfkbcddqvc4fvz1qqwr698mkjj";
|
||||||
x86_64-darwin = "1fw73483ja4zav8xd0j03ygib5zbviy3kd02jzmgbbbsac5li96m";
|
x86_64-darwin = "1slmqrxhrwm04v0lisc200mx6jv86vf5p62as4brzz9irnv707ry";
|
||||||
aarch64-linux = "1w0dxpvrj06m1d15q45xi4sl4g3fk0nf04vh2ar956lg67dqj7i6";
|
aarch64-linux = "1q99y9jx3c8z0l3pda0b79c50yff8as4z9c4dxwf7b67argi5ls6";
|
||||||
aarch64-darwin = "0i5vj3km6wkdc2mrks2rjbqbn1isg4l4ss6zs7qfra3zcj62bkc2";
|
aarch64-darwin = "0ykb0ifkswv3rcp3x6rkm8r88flsfmwhlrlc4f55mbgj7jbfn5k3";
|
||||||
armv7l-linux = "1jx8cz43ac35as414mxsj9abpkr4a7v10fg1msjy2ykcrzv9v3dr";
|
armv7l-linux = "0gshhing3drsrmf17jykafks7z587ixk63xinrdv62xl4x4qxca8";
|
||||||
}.${system} or throwSystem;
|
}.${system} or throwSystem;
|
||||||
in
|
in
|
||||||
callPackage ./generic.nix rec {
|
callPackage ./generic.nix rec {
|
||||||
# Please backport all compatible updates to the stable release.
|
# Please backport all compatible updates to the stable release.
|
||||||
# This is important for the extension ecosystem.
|
# This is important for the extension ecosystem.
|
||||||
version = "1.78.2";
|
version = "1.79.0";
|
||||||
pname = "vscode";
|
pname = "vscode";
|
||||||
|
|
||||||
executableName = "code" + lib.optionalString isInsiders "-insiders";
|
executableName = "code" + lib.optionalString isInsiders "-insiders";
|
||||||
|
38
pkgs/applications/misc/genesys/default.nix
Normal file
38
pkgs/applications/misc/genesys/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ lib, stdenv, fetchurl, jre, graphviz, makeWrapper }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "genesys";
|
||||||
|
version = "1.0.7";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mrlem/genesys/releases/download/v${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
|
||||||
|
hash = "sha256-I1lEVvwRiGf1f4zUtqKhSb+it/nC8WAmw5S6edquOj8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
# The package is distributed as a prebuilt JAVA binary
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out
|
||||||
|
mv bin lib $out
|
||||||
|
wrapProgram $out/bin/${finalAttrs.pname} \
|
||||||
|
--set JAVA_HOME "${jre.home}" \
|
||||||
|
--prefix PATH : "${graphviz}/bin"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A simple family tree generator that scales";
|
||||||
|
homepage = "https://github.com/mrlem/genesys";
|
||||||
|
license = lib.licenses.gpl3;
|
||||||
|
maintainers = with lib.maintainers; [ rogarb ];
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
34
pkgs/applications/misc/nwg-dock-hyprland/default.nix
Normal file
34
pkgs/applications/misc/nwg-dock-hyprland/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pkg-config
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gtk-layer-shell
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "nwg-dock-hyprland";
|
||||||
|
version = "0.1.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nwg-piotr";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-7vdfxE3X2J7bDLzose0dKmjxNQhS5+/ROky9wkK1gc0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-GhcrIVnZRbiGTfeUAWvslOVWDZmoL0ZRnjgTtQgxe2Q=";
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config wrapGAppsHook ];
|
||||||
|
buildInputs = [ gtk-layer-shell ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "GTK3-based dock for Hyprland";
|
||||||
|
homepage = "https://github.com/nwg-piotr/nwg-dock-hyprland";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ aleksana ];
|
||||||
|
};
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -3,10 +3,10 @@
|
|||||||
{
|
{
|
||||||
firefox = buildMozillaMach rec {
|
firefox = buildMozillaMach rec {
|
||||||
pname = "firefox";
|
pname = "firefox";
|
||||||
version = "114.0";
|
version = "114.0.1";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||||
sha512 = "c6929d34583f25119738d1c817a24fd358fcada1f0ba5c14bab07c2acd35f18a012f23d054bfe8c6b12c0dda7bd3abdc7a305a36c7a4d36542885abeea3aafec";
|
sha512 = "d422982e0271a68aa8064977b3a6b6f9412a30e7261ba06385c416e00e8ba0eb488d81a8929355fc92d35469d3308ec928f00e4de7248ed6390d5d900d7bce8f";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -89,7 +89,7 @@ let
|
|||||||
fteLibPath = lib.makeLibraryPath [ stdenv.cc.cc gmp ];
|
fteLibPath = lib.makeLibraryPath [ stdenv.cc.cc gmp ];
|
||||||
|
|
||||||
# Upstream source
|
# Upstream source
|
||||||
version = "12.0.6";
|
version = "12.0.7";
|
||||||
|
|
||||||
lang = "ALL";
|
lang = "ALL";
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ let
|
|||||||
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
|
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
|
||||||
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
|
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
|
||||||
];
|
];
|
||||||
hash = "sha256-MLy/T8A+udasITWYSzaqXSFhA3PJsG7DnKJG0b9UYvA=";
|
hash = "sha256-lo+Iy6I7S1NV1E9CBPqJjRFzuEXGC80NRUUlpZfG5wU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
i686-linux = fetchurl {
|
i686-linux = fetchurl {
|
||||||
@ -111,7 +111,7 @@ let
|
|||||||
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
|
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
|
||||||
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
|
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
|
||||||
];
|
];
|
||||||
hash = "sha256-njJB5k7rQxRyL7foU8fLCQxy43dJvV26oKvQ+fw6U0o=";
|
hash = "sha256-aLHZUFDZZ4i7BXoM5YxPrznYw812/OGmhG97t9okOvs=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -469,7 +469,7 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://www.torproject.org/";
|
homepage = "https://www.torproject.org/";
|
||||||
changelog = "https://gitweb.torproject.org/builders/tor-browser-build.git/plain/projects/tor-browser/Bundle-Data/Docs/ChangeLog.txt?h=maint-${version}";
|
changelog = "https://gitweb.torproject.org/builders/tor-browser-build.git/plain/projects/tor-browser/Bundle-Data/Docs/ChangeLog.txt?h=maint-${version}";
|
||||||
platforms = attrNames sources;
|
platforms = attrNames sources;
|
||||||
maintainers = with maintainers; [ offline matejc thoughtpolice joachifm hax404 KarlJoad ];
|
maintainers = with maintainers; [ felschr panicgh joachifm hax404 ];
|
||||||
mainProgram = "tor-browser";
|
mainProgram = "tor-browser";
|
||||||
# MPL2.0+, GPL+, &c. While it's not entirely clear whether
|
# MPL2.0+, GPL+, &c. While it's not entirely clear whether
|
||||||
# the compound is "libre" in a strict sense (some components place certain
|
# the compound is "libre" in a strict sense (some components place certain
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "aiac";
|
pname = "aiac";
|
||||||
version = "2.4.0";
|
version = "2.5.0";
|
||||||
excludedPackages = [".ci"];
|
excludedPackages = [".ci"];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gofireflyio";
|
owner = "gofireflyio";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-C9eQdN8S8Qe0x+Uly69nbYNXDKpi1uZ6qNBetn2P4Gk=";
|
hash = "sha256-BCcoMftnvfAqmabnSz/oRAlJg95KJ236mduxV2DfRG4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-Uqr9wH7hCLdZEu6DXddgB7NuLtqcjUbOPJ2YX+9ehKM=";
|
vendorHash = "sha256-Uqr9wH7hCLdZEu6DXddgB7NuLtqcjUbOPJ2YX+9ehKM=";
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "k0sctl";
|
pname = "k0sctl";
|
||||||
version = "0.15.1";
|
version = "0.15.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "k0sproject";
|
owner = "k0sproject";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-80AmGc3SdniKayvviVoItrj8v+3m1sAJXSjoRJzw7mE=";
|
sha256 = "sha256-pti52JlnIxinKg2DxNfLewoJuhMohsAVmHgvR2N5shg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-K4/sIHWVe1Wj8LJgrqfoOg1hHXvH3HEgU5vq82tzMSk=";
|
vendorSha256 = "sha256-K4/sIHWVe1Wj8LJgrqfoOg1hHXvH3HEgU5vq82tzMSk=";
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubeconform";
|
pname = "kubeconform";
|
||||||
version = "0.6.1";
|
version = "0.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yannh";
|
owner = "yannh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-98wSFntt5ERbQ7URMlRz3iMTuL1beuX2nXbdWe+6Quw=";
|
sha256 = "sha256-TPT+zO5WHW/D04dLMJLJ7uAYoDLky75kWqaN7PsyzEo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
@ -363,11 +363,11 @@
|
|||||||
"vendorHash": "sha256-2iVEcpESaEdgTcmlQ6Wynuxv8RmPFlhF+BVDSjHmclM="
|
"vendorHash": "sha256-2iVEcpESaEdgTcmlQ6Wynuxv8RmPFlhF+BVDSjHmclM="
|
||||||
},
|
},
|
||||||
"exoscale": {
|
"exoscale": {
|
||||||
"hash": "sha256-wWGqEwo8dMD+2UeaHSzoo+uXrsHNZRDrGhgneACScPM=",
|
"hash": "sha256-DD6CkdZ9KCCkPCgPyWXaAvHfHyn9rYXRsXg9BVJkELM=",
|
||||||
"homepage": "https://registry.terraform.io/providers/exoscale/exoscale",
|
"homepage": "https://registry.terraform.io/providers/exoscale/exoscale",
|
||||||
"owner": "exoscale",
|
"owner": "exoscale",
|
||||||
"repo": "terraform-provider-exoscale",
|
"repo": "terraform-provider-exoscale",
|
||||||
"rev": "v0.48.0",
|
"rev": "v0.49.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
@ -620,11 +620,11 @@
|
|||||||
"vendorHash": "sha256-cLp8w0UcO9Hork/GTLOGCcSvfaYEIKl5so3/0ELm79Y="
|
"vendorHash": "sha256-cLp8w0UcO9Hork/GTLOGCcSvfaYEIKl5so3/0ELm79Y="
|
||||||
},
|
},
|
||||||
"keycloak": {
|
"keycloak": {
|
||||||
"hash": "sha256-557IxT6Zpfig7XLpWG0DahsWsgnTD7XAlIgU9CmQH5c=",
|
"hash": "sha256-itnXalLx5Bku7sxM5wKJs2vCvDeJnhR1bQ55ye1tpKs=",
|
||||||
"homepage": "https://registry.terraform.io/providers/mrparkers/keycloak",
|
"homepage": "https://registry.terraform.io/providers/mrparkers/keycloak",
|
||||||
"owner": "mrparkers",
|
"owner": "mrparkers",
|
||||||
"repo": "terraform-provider-keycloak",
|
"repo": "terraform-provider-keycloak",
|
||||||
"rev": "v4.3.0",
|
"rev": "v4.3.1",
|
||||||
"spdx": "MIT",
|
"spdx": "MIT",
|
||||||
"vendorHash": "sha256-GhmawLENmRuG5ZbXEZAw8pYmHn2SN2ONzfSIVEyN4U4="
|
"vendorHash": "sha256-GhmawLENmRuG5ZbXEZAw8pYmHn2SN2ONzfSIVEyN4U4="
|
||||||
},
|
},
|
||||||
@ -764,11 +764,11 @@
|
|||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
"newrelic": {
|
"newrelic": {
|
||||||
"hash": "sha256-Dz+aVO6RpGcgo9LCPHFdYCiJ3ja+ftJFii5wWQm0/jc=",
|
"hash": "sha256-Qm5rMgJ4SN3gmhoMaDDcXg75r7mYHavQzoiscsUk6Vk=",
|
||||||
"homepage": "https://registry.terraform.io/providers/newrelic/newrelic",
|
"homepage": "https://registry.terraform.io/providers/newrelic/newrelic",
|
||||||
"owner": "newrelic",
|
"owner": "newrelic",
|
||||||
"repo": "terraform-provider-newrelic",
|
"repo": "terraform-provider-newrelic",
|
||||||
"rev": "v3.24.0",
|
"rev": "v3.24.1",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": "sha256-WjiTfHs+MEc06aNstblGKvd3cTj49JF1fvm+tuR2WH8="
|
"vendorHash": "sha256-WjiTfHs+MEc06aNstblGKvd3cTj49JF1fvm+tuR2WH8="
|
||||||
},
|
},
|
||||||
@ -927,11 +927,11 @@
|
|||||||
"vendorHash": "sha256-j+3qtGlueKZgf0LuNps4Wc9G3EmpSgl8ZNSLqslyizI="
|
"vendorHash": "sha256-j+3qtGlueKZgf0LuNps4Wc9G3EmpSgl8ZNSLqslyizI="
|
||||||
},
|
},
|
||||||
"rancher2": {
|
"rancher2": {
|
||||||
"hash": "sha256-UDVKmOON190eQzGrxzVtq7gDYeKBBM1nnL2ujU1wDo8=",
|
"hash": "sha256-tkr1zqHeIMrselvnlv+n7kTM89T7zYW82UeQPucG50I=",
|
||||||
"homepage": "https://registry.terraform.io/providers/rancher/rancher2",
|
"homepage": "https://registry.terraform.io/providers/rancher/rancher2",
|
||||||
"owner": "rancher",
|
"owner": "rancher",
|
||||||
"repo": "terraform-provider-rancher2",
|
"repo": "terraform-provider-rancher2",
|
||||||
"rev": "v3.0.0",
|
"rev": "v3.0.1",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": "sha256-RSHI994zW7rzA/SJ/Ioilg7mQB/VbDInSeZ9IaEYVIc="
|
"vendorHash": "sha256-RSHI994zW7rzA/SJ/Ioilg7mQB/VbDInSeZ9IaEYVIc="
|
||||||
},
|
},
|
||||||
@ -981,13 +981,13 @@
|
|||||||
"vendorHash": null
|
"vendorHash": null
|
||||||
},
|
},
|
||||||
"selectel": {
|
"selectel": {
|
||||||
"hash": "sha256-gZiDFcrQZsOE0R74LYwoitAjuPqPZCPLTEL3giom+c8=",
|
"hash": "sha256-Mpf7BcT7uRqqDNHk+IqfjIuRgrzMMcGn71exKBbymd8=",
|
||||||
"homepage": "https://registry.terraform.io/providers/selectel/selectel",
|
"homepage": "https://registry.terraform.io/providers/selectel/selectel",
|
||||||
"owner": "selectel",
|
"owner": "selectel",
|
||||||
"repo": "terraform-provider-selectel",
|
"repo": "terraform-provider-selectel",
|
||||||
"rev": "v3.9.1",
|
"rev": "v3.10.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": "sha256-+Duf/wdjmw6NBhmy1KmNRJ+ZEjjwtJoXXQCw2lJzxS4="
|
"vendorHash": "sha256-mIIp9+jGfCEe2HFdlARVFldNYBNPTRP8s/G0/URgxVA="
|
||||||
},
|
},
|
||||||
"sentry": {
|
"sentry": {
|
||||||
"hash": "sha256-L/aZ4/xCVZk3C6AGglzCj5T9XnoI/uiLbRASNAHwcro=",
|
"hash": "sha256-L/aZ4/xCVZk3C6AGglzCj5T9XnoI/uiLbRASNAHwcro=",
|
||||||
|
@ -94,6 +94,15 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://salsa.debian.org/debian/telegram-desktop/-/raw/09b363ed5a4fcd8ecc3282b9bfede5fbb83f97ef/debian/patches/Disable-register-custom-scheme.patch";
|
url = "https://salsa.debian.org/debian/telegram-desktop/-/raw/09b363ed5a4fcd8ecc3282b9bfede5fbb83f97ef/debian/patches/Disable-register-custom-scheme.patch";
|
||||||
hash = "sha256-B8X5lnSpwwdp1HlvyXJWQPybEN+plOwimdV5gW6aY2Y=";
|
hash = "sha256-B8X5lnSpwwdp1HlvyXJWQPybEN+plOwimdV5gW6aY2Y=";
|
||||||
})
|
})
|
||||||
|
# Bring custom xdg-activation implementation back
|
||||||
|
# Fixes https://github.com/telegramdesktop/tdesktop/issues/2635: TG desktop doen't open links
|
||||||
|
# https://github.com/desktop-app/lib_base/pull/180
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/desktop-app/lib_base/commit/6041498fbafcd0a22df88b7973d9e8f9bdf16958.patch";
|
||||||
|
extraPrefix = "Telegram/lib_base/";
|
||||||
|
stripLen = 1;
|
||||||
|
hash = "sha256-9IV1T/tjN2VA7wcpbt2GRpOMC76yOzRlGWuIAa8HTX0=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "netmaker";
|
pname = "netmaker";
|
||||||
version = "0.20.0";
|
version = "0.20.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gravitl";
|
owner = "gravitl";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-pzU9MiUL5M7EkGIXjZ0VqJmk4qOlbgCLCg84iPIXG70=";
|
hash = "sha256-1h/UQXaLcc962IMw9Vt79GR0qx1rYcmy5E+duisi0ck=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-euqQztEUEejCWy7WqtzMEIZrBDZpD/6dqnFsYhXajdE=";
|
vendorHash = "sha256-0iByCr//nOaEjfGT2alxZpzSl57x2GxXAOIiza4gnGQ=";
|
||||||
|
|
||||||
inherit subPackages;
|
inherit subPackages;
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
assert withQt -> qt6 != null;
|
assert withQt -> qt6 != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "4.0.5";
|
version = "4.0.6";
|
||||||
variant = if withQt then "qt" else "cli";
|
variant = if withQt then "qt" else "cli";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -61,7 +61,7 @@ stdenv.mkDerivation {
|
|||||||
repo = "wireshark";
|
repo = "wireshark";
|
||||||
owner = "wireshark";
|
owner = "wireshark";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-9U0V2oLVyzq+3HxvOuD8Uzj1tjoMtYBws43fn5RfGhQ=";
|
hash = "sha256-hQpnD1BWOdb1YuG2BaQI+q1EkkTF1Du/HezrYr/Fl7w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
@ -15,16 +15,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "sniffnet";
|
pname = "sniffnet";
|
||||||
version = "1.2.0";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "gyulyvgc";
|
owner = "gyulyvgc";
|
||||||
repo = "sniffnet";
|
repo = "sniffnet";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-hZK+lLH9fCEvujLuvAqkVVmRCRM9DfhCUv7JbirTIu4=";
|
hash = "sha256-IJfXQ/d1amm6rCdArWoHXFhN9s//7hYoWMt66mv4Bbw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-hAxIS9gc5EBDy00U1JSnLZYifCzJAEcwhaalzrUjT9M=";
|
cargoHash = "sha256-FMpTHm8eEXnVfMMY1iUkJPnRRK10u9l8tCaemM6L1gE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "chirp";
|
pname = "chirp";
|
||||||
version = "unstable-2023-03-15";
|
version = "unstable-2023-06-02";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kk7ds";
|
owner = "kk7ds";
|
||||||
repo = "chirp";
|
repo = "chirp";
|
||||||
rev = "33402b7c545c5a92b7042369867e7eb75ef32a59";
|
rev = "72789c3652c332dc68ba694f8f8f005913fe5c95";
|
||||||
hash = "sha256-duSEpd2GBBskoKNFos5X9wFtsjRct1918VhZd1T2rvU=";
|
hash = "sha256-WQwCX7h9BFLdYOBVVntxQ6g4t3j7QLfNmlHVLzlRh7U=";
|
||||||
};
|
};
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
glib
|
glib
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "git-credential-oauth";
|
pname = "git-credential-oauth";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hickford";
|
owner = "hickford";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-f12PgTtfs/S9RI8+QFROkNqccRWeIW1/YkynqvKJc7I=";
|
hash = "sha256-t1P20BDNQ0aJRgQhOgYP2Md44+I8xs6884ktBO4nGjY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
@ -17,7 +17,7 @@ buildGoModule rec {
|
|||||||
"-X main.version=${version}"
|
"-X main.version=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
vendorHash = "sha256-9X7ti3NR5MKK0MpiyTOTO+EtdMuu4/TW/diHq9FjSHY=";
|
vendorHash = "sha256-oHusgU5SMkFDY2dhFRdDonyYkyOBGOp+zqx2nFmOWXk=";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth";
|
description = "Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
, makeWrapper
|
, makeWrapper
|
||||||
, git
|
, git
|
||||||
, bash
|
, bash
|
||||||
|
, coreutils
|
||||||
, gitea
|
, gitea
|
||||||
, gzip
|
, gzip
|
||||||
, openssh
|
, openssh
|
||||||
@ -34,7 +35,7 @@ buildGoModule rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace modules/setting/setting.go --subst-var data
|
substituteInPlace modules/setting/server.go --subst-var data
|
||||||
'';
|
'';
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
@ -62,7 +63,7 @@ buildGoModule rec {
|
|||||||
cp -R ./options/locale $out/locale
|
cp -R ./options/locale $out/locale
|
||||||
|
|
||||||
wrapProgram $out/bin/gitea \
|
wrapProgram $out/bin/gitea \
|
||||||
--prefix PATH : ${lib.makeBinPath [ bash git gzip openssh ]}
|
--prefix PATH : ${lib.makeBinPath [ bash coreutils git gzip openssh ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
@ -8,13 +8,13 @@ let
|
|||||||
url = "https://search.maven.org/remotecontent?filepath=com/googlecode/lanterna/lanterna/3.1.1/lanterna-3.1.1.jar";
|
url = "https://search.maven.org/remotecontent?filepath=com/googlecode/lanterna/lanterna/3.1.1/lanterna-3.1.1.jar";
|
||||||
hash = "sha256-7zxCeXYW5v9ritnvkwRpPKdgSptCmkT3HJOaNgQHUmQ=";
|
hash = "sha256-7zxCeXYW5v9ritnvkwRpPKdgSptCmkT3HJOaNgQHUmQ=";
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "filebot";
|
pname = "filebot";
|
||||||
version = "5.0.2";
|
version = "5.0.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://web.archive.org/web/20230418205553/https://get.filebot.net/filebot/FileBot_${version}/FileBot_${version}-portable.tar.xz";
|
url = "https://web.archive.org/web/20230418205553/https://get.filebot.net/filebot/FileBot_${finalAttrs.version}/FileBot_${finalAttrs.version}-portable.tar.xz";
|
||||||
hash = "sha256-XnzBXZy/gNA8qf7XairoviRmdQiXHbW19BgbHL52SP0=";
|
hash = "sha256-8FTmR+ztR2ugPcgHvfwyh9yfxPiUJdeAVvjjl5cQCy0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "tar xvf $src";
|
unpackPhase = "tar xvf $src";
|
||||||
@ -68,4 +68,4 @@ in stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ gleber felschr ];
|
maintainers = with maintainers; [ gleber felschr ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -9,31 +9,20 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gvisor";
|
pname = "gvisor";
|
||||||
version = "20230529.0";
|
version = "20221102.1";
|
||||||
|
|
||||||
# gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go)
|
# gvisor provides a synthetic go branch (https://github.com/google/gvisor/tree/go)
|
||||||
# that can be used to build gvisor without bazel.
|
# that can be used to build gvisor without bazel.
|
||||||
#
|
|
||||||
# For updates, you should stick to the commits labeled "Merge release-** (automated)"
|
# For updates, you should stick to the commits labeled "Merge release-** (automated)"
|
||||||
# Make sure to check that the tagged commit for a release aligns with the version in
|
|
||||||
# the message for good measure; e.g. the commit
|
|
||||||
#
|
|
||||||
# 142d38d770a07291877dc0d50b88b719dbef76dc is "Merge release-20230522.0-11-g919cfd12b (automated)"
|
|
||||||
#
|
|
||||||
# on the 'go' branch. But the mentioned commit, 919cfd12b..., is actually tagged as release-20230529.0
|
|
||||||
#
|
|
||||||
# https://github.com/google/gvisor/releases/tag/release-202329.0
|
|
||||||
#
|
|
||||||
# Presumably this is a result of the release process. Handle with care.
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "gvisor";
|
repo = "gvisor";
|
||||||
rev = "142d38d770a07291877dc0d50b88b719dbef76dc";
|
rev = "bf8eeee3a9eb966bc72c773da060a3c8bb73b8ff";
|
||||||
hash = "sha256-Ukcjlz/6iUmDAUpQpIVfZHKbwK90Mt6fukcFaw64hQI=";
|
sha256 = "sha256-rADQsJ+AnBVlfQURGJl1xR6Ad5NyRWSrBSpOFMRld+o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-COr47mZ4tsbzMjkv63l+fexo0RL5lrBXeewak9CuZVk=";
|
vendorSha256 = "sha256-iGLWxx/Kn1QaJTNOZcc+mwoF3ecEDOkaqmA0DH4pdgU=";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unscii";
|
pname = "unscii";
|
||||||
version = "1.1";
|
version = "2.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pelulamu.net/${pname}/${pname}-${version}-src.tar.gz";
|
url = "http://viznut.fi/${pname}/${pname}-${version}-src.tar.gz";
|
||||||
sha256 = "0qcxcnqz2nlwfzlrn115kkp3n8dd7593h762vxs6vfqm13i39lq1";
|
sha256 = "0msvqrq7x36p76a2n5bzkadh95z954ayqa08wxd017g4jpa1a4jd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
@ -66,6 +66,6 @@ stdenv.mkDerivation rec {
|
|||||||
# version. The reduced version is public domain.
|
# version. The reduced version is public domain.
|
||||||
license = "http://unifoundry.com/LICENSE.txt";
|
license = "http://unifoundry.com/LICENSE.txt";
|
||||||
maintainers = [ lib.maintainers.raskin ];
|
maintainers = [ lib.maintainers.raskin ];
|
||||||
homepage = "http://pelulamu.net/unscii/";
|
homepage = "http://viznut.fi/unscii/";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ llvmPackages
|
{ stdenv
|
||||||
|
, llvmPackages
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
@ -13,7 +14,7 @@
|
|||||||
|
|
||||||
assert blas.implementation == "openblas" && lapack.implementation == "openblas";
|
assert blas.implementation == "openblas" && lapack.implementation == "openblas";
|
||||||
|
|
||||||
llvmPackages.stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "halide";
|
pname = "halide";
|
||||||
version = "15.0.1";
|
version = "15.0.1";
|
||||||
|
|
||||||
@ -24,7 +25,15 @@ llvmPackages.stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-mnZ6QMqDr48bH2W+andGZj2EhajXKApjuW6B50xtzx0=";
|
sha256 = "sha256-mnZ6QMqDr48bH2W+andGZj2EhajXKApjuW6B50xtzx0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = [ "-DWARNINGS_AS_ERRORS=OFF" "-DWITH_PYTHON_BINDINGS=OFF" "-DTARGET_WEBASSEMBLY=OFF" ];
|
cmakeFlags = [
|
||||||
|
"-DWARNINGS_AS_ERRORS=OFF"
|
||||||
|
"-DWITH_PYTHON_BINDINGS=OFF"
|
||||||
|
"-DTARGET_WEBASSEMBLY=OFF"
|
||||||
|
# Disable performance tests since they may fail on busy machines
|
||||||
|
"-DWITH_TEST_PERFORMANCE=OFF"
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
# Note: only openblas and not atlas part of this Nix expression
|
# Note: only openblas and not atlas part of this Nix expression
|
||||||
# see pkgs/development/libraries/science/math/liblapack/3.5.0.nix
|
# see pkgs/development/libraries/science/math/liblapack/3.5.0.nix
|
||||||
|
@ -24,24 +24,24 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "julia-bin";
|
pname = "julia-bin";
|
||||||
version = "1.9.0";
|
version = "1.9.1";
|
||||||
|
|
||||||
src = {
|
src = {
|
||||||
x86_64-linux = fetchurl {
|
x86_64-linux = fetchurl {
|
||||||
url = "https://julialang-s3.julialang.org/bin/linux/x64/${lib.versions.majorMinor version}/julia-${version}-linux-x86_64.tar.gz";
|
url = "https://julialang-s3.julialang.org/bin/linux/x64/${lib.versions.majorMinor version}/julia-${version}-linux-x86_64.tar.gz";
|
||||||
hash = "sha256-AMYURm75gJwusjSA440ZaixXf/8nMMT4PRNbkT1HM1k=";
|
hash = "sha256-zeFKWPiZJR8wz87YcFVib0SEV4Blnr6NUMvExnsxmXw=";
|
||||||
};
|
};
|
||||||
aarch64-linux = fetchurl {
|
aarch64-linux = fetchurl {
|
||||||
url = "https://julialang-s3.julialang.org/bin/linux/aarch64/${lib.versions.majorMinor version}/julia-${version}-linux-aarch64.tar.gz";
|
url = "https://julialang-s3.julialang.org/bin/linux/aarch64/${lib.versions.majorMinor version}/julia-${version}-linux-aarch64.tar.gz";
|
||||||
hash = "sha256-ChQxW1Os2X8i0m1Kj9LCN+Uk6Vw77JjS14tU2Awrw2Q=";
|
hash = "sha256-tkPM0+Kllg985wVSQ3Q9Cjm63aOXS849d4Yd02O63RA=";
|
||||||
};
|
};
|
||||||
x86_64-darwin = fetchurl {
|
x86_64-darwin = fetchurl {
|
||||||
url = "https://julialang-s3.julialang.org/bin/mac/x64/${lib.versions.majorMinor version}/julia-${version}-mac64.tar.gz";
|
url = "https://julialang-s3.julialang.org/bin/mac/x64/${lib.versions.majorMinor version}/julia-${version}-mac64.tar.gz";
|
||||||
hash = "sha256-ALxMJ+6xvr01BZcxL/CRkXYxX9MZnGPslj+0HjsEv68=";
|
hash = "sha256-STaN2u9ON+1gaAimyli6DxpEUaJ7ggGu1NnXskwnaBc=";
|
||||||
};
|
};
|
||||||
aarch64-darwin = fetchurl {
|
aarch64-darwin = fetchurl {
|
||||||
url = "https://julialang-s3.julialang.org/bin/mac/aarch64/${lib.versions.majorMinor version}/julia-${version}-macaarch64.tar.gz";
|
url = "https://julialang-s3.julialang.org/bin/mac/aarch64/${lib.versions.majorMinor version}/julia-${version}-macaarch64.tar.gz";
|
||||||
hash = "sha256-U+YncKaZDVqJ56AB72iqJd4lEmo76DggDEyacF2uo3w=";
|
hash = "sha256-nj4CymVGUT3OJlN5q+lXyytbDM9AZiGUhtoOuHLdzrw=";
|
||||||
};
|
};
|
||||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "julia";
|
pname = "julia";
|
||||||
version = "1.9.0";
|
version = "1.9.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz";
|
url = "https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz";
|
||||||
hash = "sha256-Ii61M8ncVHNJSes6QWn1Su+hvCC+OF/Bz3mMghn+ZAA=";
|
hash = "sha256-oTznFrY9PkbZEIOV4f/Iod5xLmqEimA6xZK88IDqATk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ mkDerivation }:
|
{ mkDerivation }:
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
version = "25.3.2.1";
|
version = "25.3.2.2";
|
||||||
sha256 = "4PDK18/tekJHgNGECG5hv/HvwvteR+FeN6hlpB9FC9o=";
|
sha256 = "TeDszsF9X4ExnOfP20ujlJpfxKK1zwhHHnPAbSnm/YQ=";
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
base = callPackage ./generic.nix (_args // {
|
base = callPackage ./generic.nix (_args // {
|
||||||
version = "8.0.28";
|
version = "8.0.29";
|
||||||
hash = "sha256-nV50k1yQDjuce2vHQFlrcZM2MOufY3F8DEkj2MeIxi4=";
|
hash = "sha256-SAGh8OFxcChnI6tUrNBFrHipZWAh1W8QSmRUPuySLhI=";
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ callPackage, lib, stdenv, ... }@_args:
|
{ callPackage, ... }@_args:
|
||||||
|
|
||||||
let
|
let
|
||||||
base = callPackage ./generic.nix (_args // {
|
base = callPackage ./generic.nix (_args // {
|
||||||
version = "8.1.19";
|
version = "8.1.20";
|
||||||
hash = "sha256-ZCByB/2jC+kmou8fZv8ma/H9x+AzObyZ+7oKEkXkJ5s=";
|
hash = "sha256-VVeFh1FKJwdQD4UxnlfA1N+biAPNsmVmWVrEv0WdxN0=";
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{ callPackage, lib, stdenv, fetchurl, ... }@_args:
|
{ callPackage, ... }@_args:
|
||||||
|
|
||||||
let
|
let
|
||||||
base = callPackage ./generic.nix (_args // {
|
base = callPackage ./generic.nix (_args // {
|
||||||
version = "8.2.6";
|
version = "8.2.7";
|
||||||
hash = "sha256-RKcMUvU3ZiwQ2R7tv1H9dlyZYb5rolCO1jv3omzdMQA=";
|
hash = "sha256-W/sqNcZ5Ib3K3VyQyykK11N9JNoROl6LwtZGsC3nSI8=";
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -57,10 +57,10 @@ in {
|
|||||||
sourceVersion = {
|
sourceVersion = {
|
||||||
major = "3";
|
major = "3";
|
||||||
minor = "8";
|
minor = "8";
|
||||||
patch = "16";
|
patch = "17";
|
||||||
suffix = "";
|
suffix = "";
|
||||||
};
|
};
|
||||||
hash = "sha256-2F27N3QTJHPYCB3LFY80oQzK16kLlsflDqS7YfXORWI=";
|
hash = "sha256-LlSwxoGR8WVS9t4ul6I5ZUBXKiGfa7soWRoTfOzEkKk=";
|
||||||
inherit (darwin) configd;
|
inherit (darwin) configd;
|
||||||
inherit passthruFun;
|
inherit passthruFun;
|
||||||
};
|
};
|
||||||
@ -70,10 +70,10 @@ in {
|
|||||||
sourceVersion = {
|
sourceVersion = {
|
||||||
major = "3";
|
major = "3";
|
||||||
minor = "9";
|
minor = "9";
|
||||||
patch = "16";
|
patch = "17";
|
||||||
suffix = "";
|
suffix = "";
|
||||||
};
|
};
|
||||||
hash = "sha256-It3cCZJG3SdgZlVh6K23OU6gzEOnJoTGSA+TgPd4ZDk=";
|
hash = "sha256-MM4FfETyg/jtk2Bsy9uNUd1Sa9xMYszl4Nwhe/o+jO4=";
|
||||||
inherit (darwin) configd;
|
inherit (darwin) configd;
|
||||||
inherit passthruFun;
|
inherit passthruFun;
|
||||||
};
|
};
|
||||||
@ -96,9 +96,9 @@ in {
|
|||||||
major = "3";
|
major = "3";
|
||||||
minor = "12";
|
minor = "12";
|
||||||
patch = "0";
|
patch = "0";
|
||||||
suffix = "b1";
|
suffix = "b2";
|
||||||
};
|
};
|
||||||
hash = "sha256-i6dspkrNdFur37hGeCCWTfmIWO5qlXe/HZNEcle+WB4=";
|
hash = "sha256-jfxC3abk0GR8+Kb3zZAHBN6p/YZkAqKCgpvS5uJxuBg=";
|
||||||
inherit (darwin) configd;
|
inherit (darwin) configd;
|
||||||
inherit passthruFun;
|
inherit passthruFun;
|
||||||
};
|
};
|
||||||
|
@ -32,15 +32,15 @@ in {
|
|||||||
# This patch is the merged commit from the above PR.
|
# This patch is the merged commit from the above PR.
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "CVE-2018-19876.patch";
|
name = "CVE-2018-19876.patch";
|
||||||
url = "https://gitlab.freedesktop.org/cairo/cairo/commit/6edf572ebb27b00d3c371ba5ae267e39d27d5b6d.patch";
|
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/6edf572ebb27b00d3c371ba5ae267e39d27d5b6d.patch";
|
||||||
sha256 = "112hgrrsmcwxh1r52brhi5lksq4pvrz4xhkzcf2iqp55jl2pb7n1";
|
hash = "sha256-wZ51BZWlXByFY3/CTn7el2A9aYkwL1FygJ2zqnN+UIQ=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Fix PDF output.
|
# Fix PDF output.
|
||||||
# https://gitlab.freedesktop.org/cairo/cairo/issues/342
|
# https://gitlab.freedesktop.org/cairo/cairo/issues/342
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://gitlab.freedesktop.org/cairo/cairo/commit/5e34c5a9640e49dcc29e6b954c4187cfc838dbd1.patch";
|
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/5e34c5a9640e49dcc29e6b954c4187cfc838dbd1.patch";
|
||||||
sha256 = "yCwsDUY7efVvOZkA6a0bPS+RrVc8Yk9bfPwWHeOjq5o=";
|
hash = "sha256-yCwsDUY7efVvOZkA6a0bPS+RrVc8Yk9bfPwWHeOjq5o=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Fixes CVE-2020-35492; see https://github.com/NixOS/nixpkgs/issues/120364.
|
# Fixes CVE-2020-35492; see https://github.com/NixOS/nixpkgs/issues/120364.
|
||||||
@ -49,8 +49,8 @@ in {
|
|||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "CVE-2020-35492.patch";
|
name = "CVE-2020-35492.patch";
|
||||||
includes = [ "src/cairo-image-compositor.c" ];
|
includes = [ "src/cairo-image-compositor.c" ];
|
||||||
url = "https://github.com/freedesktop/cairo/commit/78266cc8c0f7a595cfe8f3b694bfb9bcc3700b38.patch";
|
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/78266cc8c0f7a595cfe8f3b694bfb9bcc3700b38.patch";
|
||||||
sha256 = "048nzfz7rkgqb9xs0dfs56qdw7ckkxr87nbj3p0qziqdq4nb6wki";
|
hash = "sha256-cXKzLMENx4/BHXLZg3Kfkx3esCnaNaB7WvjNfL77FhE=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Workaround https://gitlab.freedesktop.org/cairo/cairo/-/issues/121
|
# Workaround https://gitlab.freedesktop.org/cairo/cairo/-/issues/121
|
||||||
@ -60,7 +60,7 @@ in {
|
|||||||
# Upstream PR: https://gitlab.freedesktop.org/cairo/cairo/-/issues/420
|
# Upstream PR: https://gitlab.freedesktop.org/cairo/cairo/-/issues/420
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/e22d7212acb454daccc088619ee147af03883974.diff";
|
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/e22d7212acb454daccc088619ee147af03883974.diff";
|
||||||
sha256 = "sha256-8G98nsPz3MLEWPDX9F0jKgXC4hC4NNdFQLSpmW3ay2s=";
|
hash = "sha256-8G98nsPz3MLEWPDX9F0jKgXC4hC4NNdFQLSpmW3ay2s=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Fix clang build failures on newer LLVM versions
|
# Fix clang build failures on newer LLVM versions
|
||||||
@ -68,7 +68,7 @@ in {
|
|||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "fix-types.patch";
|
name = "fix-types.patch";
|
||||||
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/38e486b34d435130f2fb38c429e6016c3c82cd53.patch";
|
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/38e486b34d435130f2fb38c429e6016c3c82cd53.patch";
|
||||||
sha256 = "sha256-vmluOJSuTRiQHmbBBVCxOIkZ0O0ZEo0J4mgrUPn0SIo=";
|
hash = "sha256-vmluOJSuTRiQHmbBBVCxOIkZ0O0ZEo0J4mgrUPn0SIo=";
|
||||||
})
|
})
|
||||||
|
|
||||||
# Fix unexpected color addition on grayscale images (usually text).
|
# Fix unexpected color addition on grayscale images (usually text).
|
||||||
@ -77,7 +77,7 @@ in {
|
|||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "fix-grayscale-anialias.patch";
|
name = "fix-grayscale-anialias.patch";
|
||||||
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/4f4d89506f58a64b4829b1bb239bab9e46d63727.diff";
|
url = "https://gitlab.freedesktop.org/cairo/cairo/-/commit/4f4d89506f58a64b4829b1bb239bab9e46d63727.diff";
|
||||||
sha256 = "sha256-mbTg67e7APfdELsuMAgXdY3xokWbGtHF7VDD5UyYqKM=";
|
hash = "sha256-mbTg67e7APfdELsuMAgXdY3xokWbGtHF7VDD5UyYqKM=";
|
||||||
})
|
})
|
||||||
|
|
||||||
];
|
];
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioairzone-cloud";
|
pname = "aioairzone-cloud";
|
||||||
version = "0.1.7";
|
version = "0.1.8";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
owner = "Noltari";
|
owner = "Noltari";
|
||||||
repo = "aioairzone-cloud";
|
repo = "aioairzone-cloud";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-IkV0gwsd/87GZ9LSQu6azQuoxPXuKNbjZMekVKxAl/A=";
|
hash = "sha256-VuUvutotxkC0Xur7kBBTwjzE+F1I3JSydcHkjrpbeUg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohomekit";
|
pname = "aiohomekit";
|
||||||
version = "2.6.4";
|
version = "2.6.5";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
owner = "Jc2k";
|
owner = "Jc2k";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-98VoRo3gxS70M/R0HYEK5VItJWcwMi8Z3r2eJ5lEeMw=";
|
hash = "sha256-Q5pz/irC+yA/A2GhGCug+jmxr4tCnPpkAV/AZEhd64A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,32 +1,49 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, pytest-runner
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
, setuptools
|
, setuptools
|
||||||
, coverage, pytest
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "diceware";
|
pname = "diceware";
|
||||||
version = "0.10";
|
version = "0.10";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-srTMm1n1aNLvUb/fn34a+UHSX7j1wl8XAZHburzpZWk=";
|
hash = "sha256-srTMm1n1aNLvUb/fn34a+UHSX7j1wl8XAZHburzpZWk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest-runner ];
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
propagatedBuildInputs = [ setuptools ];
|
--replace "'pytest_runner'," ""
|
||||||
|
|
||||||
nativeCheckInputs = [ coverage pytest ];
|
|
||||||
|
|
||||||
# see https://github.com/ulif/diceware/commit/a7d844df76cd4b95a717f21ef5aa6167477b6733
|
|
||||||
checkPhase = ''
|
|
||||||
py.test -m 'not packaging'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
# see https://github.com/ulif/diceware/commit/a7d844df76cd4b95a717f21ef5aa6167477b6733
|
||||||
|
"-m 'not packaging'"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"diceware"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generates passphrases by concatenating words randomly picked from wordlists";
|
description = "Generates passphrases by concatenating words randomly picked from wordlists";
|
||||||
homepage = "https://github.com/ulif/diceware";
|
homepage = "https://github.com/ulif/diceware";
|
||||||
|
changelog = "https://github.com/ulif/diceware/blob/v${version}/CHANGES.rst";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ asymmetric ];
|
maintainers = with maintainers; [ asymmetric ];
|
||||||
};
|
};
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dvc-data";
|
pname = "dvc-data";
|
||||||
version = "0.54.3";
|
version = "0.55.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-xkLqZmAzYfmfv9l1+PR8j5S7O5gKVh63+Jb9aZiLS8s=";
|
hash = "sha256-eE1cVzhwyClVYmaotw37sG46g5W1ToUE/f3pZ2CCcE0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "dvclive";
|
pname = "dvclive";
|
||||||
version = "2.11.0";
|
version = "2.11.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
owner = "iterative";
|
owner = "iterative";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-dV6ob+TXzQOuHU9bybAO8sVmrJ7yP8vwp0pXXFVNb34=";
|
hash = "sha256-zr8fLRwan1/G8RMHa6lf4Qa5fTh5DzVLO53PMW0fm4c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "elkm1-lib";
|
pname = "elkm1-lib";
|
||||||
version = "2.2.2";
|
version = "2.2.3";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "gwww";
|
owner = "gwww";
|
||||||
repo = "elkm1";
|
repo = "elkm1";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-z/ltpypCGJ3ORHOlLjicKlqIoxqGzVt588OHmNO65bg=";
|
hash = "sha256-d676gLABChQn67E4q4koxwBRmurBWuFxSo/u+W5F8CI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "emoji";
|
pname = "emoji";
|
||||||
version = "2.4.0";
|
version = "2.5.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||||||
owner = "carpedm20";
|
owner = "carpedm20";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-tbNatosXt+KV1K3bvdz8lY73Yx/ClJcxUWHiPetp5wM=";
|
hash = "sha256-S2gU16kO8QVdhgjsfIeuv0ypcYSjWOFaVFGJdQsdijg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -1,28 +1,43 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
{ lib
|
||||||
, fonttools, setuptools-scm
|
, buildPythonPackage
|
||||||
, pytest, pytest-runner
|
, fetchPypi
|
||||||
|
, fonttools
|
||||||
|
, setuptools-scm
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fontMath";
|
pname = "fontmath";
|
||||||
version = "0.9.3";
|
version = "0.9.3";
|
||||||
disabled = isPy27;
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "fontMath";
|
||||||
|
inherit version;
|
||||||
hash = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw=";
|
hash = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw=";
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
nativeBuildInputs = [
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ fonttools ];
|
propagatedBuildInputs = [
|
||||||
nativeCheckInputs = [ pytest pytest-runner ];
|
fonttools
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A collection of objects that implement fast font, glyph, etc. math";
|
description = "A collection of objects that implement fast font, glyph, etc. math";
|
||||||
homepage = "https://github.com/robotools/fontMath/";
|
homepage = "https://github.com/robotools/fontMath/";
|
||||||
|
changelog = "https://github.com/robotools/fontMath/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.sternenseemann ];
|
maintainers = with maintainers; [ sternenseemann ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
39
pkgs/development/python-modules/frida-python/default.nix
Normal file
39
pkgs/development/python-modules/frida-python/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib, stdenv, fetchurl, fetchPypi, buildPythonPackage, typing-extensions }:
|
||||||
|
let
|
||||||
|
version = "16.0.19";
|
||||||
|
devkit = fetchurl {
|
||||||
|
url = "https://github.com/frida/frida/releases/download/${version}/frida-core-devkit-${version}-linux-x86_64.tar.xz";
|
||||||
|
hash = "sha256-yNXNqv8eCbpdQKFShpAh6rUCEuItrOSNNLOjESimPdk=";
|
||||||
|
};
|
||||||
|
in buildPythonPackage rec {
|
||||||
|
pname = "frida-python";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "frida";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-rikIjjn9wA8VL/St/2JJTcueimn+q/URbt9lw/+nalY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
mkdir assets
|
||||||
|
pushd assets
|
||||||
|
tar xvf ${devkit}
|
||||||
|
export FRIDA_CORE_DEVKIT=$PWD
|
||||||
|
popd
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ typing-extensions ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "frida" ];
|
||||||
|
|
||||||
|
passthru = { inherit devkit; };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers (Python bindings)";
|
||||||
|
homepage = "https://www.frida.re";
|
||||||
|
license = lib.licenses.wxWindows;
|
||||||
|
maintainers = with lib.maintainers; [ s1341 ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,25 +1,49 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi,
|
{ lib
|
||||||
six, pytest, pytest-runner, pytest-cov, coverage
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "libais";
|
pname = "libais";
|
||||||
version = "0.17";
|
version = "0.17";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0pyka09h8nb0vlzh14npq4nxmzg1046lr3klgn97dsf5k0iflapb";
|
hash = "sha256-6yrqIpjF6XaSfXSOTA0B4f3aLcHXkgA/3WBZBBNQ018=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'," ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
# data files missing
|
# data files missing
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
nativeCheckInputs = [ pytest pytest-runner pytest-cov coverage ];
|
pythonImportsCheck = [
|
||||||
propagatedBuildInputs = [ six ];
|
"ais"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/schwehr/libais";
|
|
||||||
description = "Library for decoding maritime Automatic Identification System messages";
|
description = "Library for decoding maritime Automatic Identification System messages";
|
||||||
|
homepage = "https://github.com/schwehr/libais";
|
||||||
|
changelog = "https://github.com/schwehr/libais/blob/master/Changelog.md";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,26 +2,38 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-runner
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mwparserfromhell";
|
pname = "mwparserfromhell";
|
||||||
version = "0.6.4";
|
version = "0.6.4";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-kr7JUorjTScok8yvK1J9+FwxT/KM+7MFY0BGewldg0w=";
|
hash = "sha256-kr7JUorjTScok8yvK1J9+FwxT/KM+7MFY0BGewldg0w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace '"pytest-runner"' ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-runner
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"mwparserfromhell"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "MWParserFromHell is a parser for MediaWiki wikicode";
|
description = "MWParserFromHell is a parser for MediaWiki wikicode";
|
||||||
homepage = "https://mwparserfromhell.readthedocs.io/en/latest/";
|
homepage = "https://mwparserfromhell.readthedocs.io/";
|
||||||
|
changelog = "https://github.com/earwig/mwparserfromhell/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ melling ];
|
maintainers = with maintainers; [ melling ];
|
||||||
};
|
};
|
||||||
|
@ -1,21 +1,43 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, watchdog, flake8
|
{ lib
|
||||||
, pytest, pytest-runner, coverage, sphinx, twine }:
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, six
|
||||||
|
, watchdog
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ndjson";
|
pname = "ndjson";
|
||||||
version = "0.3.1";
|
version = "0.3.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "v5dGy2uxy1PRcs2n8VTAfHhtZl/yg0Hk5om3lrIp5dY=";
|
hash = "sha256-v5dGy2uxy1PRcs2n8VTAfHhtZl/yg0Hk5om3lrIp5dY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [ pytest pytest-runner flake8 twine sphinx coverage watchdog ];
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner', " ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
six
|
||||||
|
watchdog
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"ndjson"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Module supports ndjson";
|
||||||
homepage = "https://github.com/rhgrant10/ndjson";
|
homepage = "https://github.com/rhgrant10/ndjson";
|
||||||
description = "JsonDecoder";
|
changelog = "https://github.com/rhgrant10/ndjson/blob/v${version}/HISTORY.rst";
|
||||||
platforms = platforms.unix;
|
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ freezeboy ];
|
maintainers = with maintainers; [ freezeboy ];
|
||||||
};
|
};
|
||||||
|
@ -15,16 +15,18 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pdm-backend";
|
pname = "pdm-backend";
|
||||||
version = "2.0.7";
|
version = "2.1.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pdm-project";
|
owner = "pdm-project";
|
||||||
repo = "pdm-backend";
|
repo = "pdm-backend";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-+d5EkpF9rZksoR5lahN7XE/jAQpNz7IjWueFYPPGyQs=";
|
hash = "sha256-asW5L9jS++9ovq7WFh0rU7aB7R2rwi5ce80Hxk9NrI4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
env.PDM_BUILD_SCM_VERSION = version;
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
|
propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
];
|
];
|
||||||
@ -40,6 +42,10 @@ buildPythonPackage rec {
|
|||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
unset PDM_BUILD_SCM_VERSION
|
||||||
|
'';
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -6,14 +6,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "policyuniverse";
|
pname = "policyuniverse";
|
||||||
version = "1.5.1.20230526";
|
version = "1.5.1.20230608";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-80Q1qkCAD3VwNk0pblPWni3qY/8Dc2YrOLDjPrg/2Os=";
|
hash = "sha256-q0Btbo5jznv3mUXh5SjVU7SmdxFpPkiVe/ZNY+lzUCg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Tests are not shipped and there are no GitHub tags
|
# Tests are not shipped and there are no GitHub tags
|
||||||
|
@ -1,45 +1,50 @@
|
|||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy27
|
|
||||||
, lib
|
|
||||||
, morphys
|
, morphys
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
, pytest-runner
|
|
||||||
, python-baseconv
|
, python-baseconv
|
||||||
|
, pythonOlder
|
||||||
, six
|
, six
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "py-multibase";
|
pname = "py-multibase";
|
||||||
version = "1.0.3";
|
version = "1.0.3";
|
||||||
disabled = isPy27;
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "d28a20efcbb61eec28f55827a0bf329c7cea80fffd933aecaea6ae8431267fe4";
|
hash = "sha256-0oog78u2Huwo9VgnoL8ynHzqgP/9kzrsrqauhDEmf+Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg --replace "[pytest]" ""
|
substituteInPlace setup.cfg \
|
||||||
substituteInPlace setup.cfg --replace "python_classes = *TestCase" ""
|
--replace "[pytest]" "" \
|
||||||
|
--replace "python_classes = *TestCase" ""
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pytest-runner
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
morphys
|
morphys
|
||||||
six
|
|
||||||
python-baseconv
|
python-baseconv
|
||||||
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"multibase"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Multibase is a protocol for distinguishing base encodings and other simple string encodings";
|
description = "Module for distinguishing base encodings and other simple string encodings";
|
||||||
homepage = "https://github.com/multiformats/py-multibase";
|
homepage = "https://github.com/multiformats/py-multibase";
|
||||||
|
changelog = "https://github.com/multiformats/py-multibase/blob/v${version}/HISTORY.rst";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ rakesh4g ];
|
maintainers = with maintainers; [ rakesh4g ];
|
||||||
};
|
};
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytest-runner
|
, morphys
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, morphys
|
|
||||||
, six
|
, six
|
||||||
, varint
|
, varint
|
||||||
}:
|
}:
|
||||||
@ -12,36 +11,39 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "py-multicodec";
|
pname = "py-multicodec";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
disabled = pythonOlder "3.5";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "multiformats";
|
owner = "multiformats";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-2aK+bfhqCMqSO+mtrHIfNQmQpQHpwd7yHseI/3O7Sp4=";
|
hash = "sha256-2aK+bfhqCMqSO+mtrHIfNQmQpQHpwd7yHseI/3O7Sp4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Error when not substituting:
|
# Error when not substituting:
|
||||||
# Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.
|
# Failed: [pytest] section in setup.cfg files is no longer supported, change to [tool:pytest] instead.
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.cfg --replace "[pytest]" "[tool:pytest]"
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "[pytest]" "[tool:pytest]"
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pytest-runner
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
varint
|
|
||||||
six
|
|
||||||
morphys
|
morphys
|
||||||
|
six
|
||||||
|
varint
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "multicodec" ];
|
pythonImportsCheck = [
|
||||||
|
"multicodec"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Compact self-describing codecs";
|
description = "Compact self-describing codecs";
|
||||||
|
@ -1,34 +1,42 @@
|
|||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, callPackage
|
, callPackage
|
||||||
, pytest-cov
|
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, lib
|
, pytestCheckHook
|
||||||
, pytest
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pytest-runner
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pycategories";
|
pname = "pycategories";
|
||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
disabled = pythonOlder "3.4";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "bd70ecb5e94e7659e564ea153f0c7673291dc37c526c246800fc08d6c5378099";
|
hash = "sha256-vXDstelOdlnlZOoVPwx2cykdw3xSbCRoAPwI1sU3gJk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest-runner ];
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'," ""
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "--cov-report term --cov=categories" ""
|
||||||
|
'';
|
||||||
|
|
||||||
# Is private because the author states it's unmaintained
|
# Is private because the author states it's unmaintained
|
||||||
# and shouldn't be used in production code
|
# and shouldn't be used in production code
|
||||||
propagatedBuildInputs = [ (callPackage ./infix.nix { }) ];
|
propagatedBuildInputs = [ (callPackage ./infix.nix { }) ];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytest pytest-cov ];
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://gitlab.com/danielhones/pycategories";
|
|
||||||
description = "Implementation of some concepts from category theory";
|
description = "Implementation of some concepts from category theory";
|
||||||
|
homepage = "https://gitlab.com/danielhones/pycategories";
|
||||||
|
changelog = "https://gitlab.com/danielhones/pycategories/-/blob/v${version}/CHANGELOG.rst";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dmvianna ];
|
maintainers = with maintainers; [ dmvianna ];
|
||||||
};
|
};
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyschlage";
|
pname = "pyschlage";
|
||||||
version = "2023.5.0";
|
version = "2023.6.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
owner = "dknowles2";
|
owner = "dknowles2";
|
||||||
repo = "pyschlage";
|
repo = "pyschlage";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-l9Xi1VffvobSjluParvQjCTsCMWvhSV975j1OVclBWw=";
|
hash = "sha256-ogYVk0Kvv595IlIa/qdV1lqlnW45IG29PX5EEaMaphw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -1,30 +1,43 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pytest-runner
|
, fetchPypi
|
||||||
, numpy
|
, numpy
|
||||||
|
, pythonOlder
|
||||||
, pyyaml
|
, pyyaml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysrim";
|
pname = "pysrim";
|
||||||
version = "0.5.10";
|
version = "0.5.10";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "ada088f73f7e1a3bf085206e81e0f83ed89c1d0b23a789ecd0ba0a250724aee8";
|
hash = "sha256-raCI9z9+GjvwhSBugeD4PticHQsjp4ns0LoKJQckrug=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest-runner ];
|
postPatch = ''
|
||||||
propagatedBuildInputs = [ numpy pyyaml ];
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner', " ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
numpy
|
||||||
|
pyyaml
|
||||||
|
];
|
||||||
|
|
||||||
# Tests require git lfs download of repository
|
# Tests require git lfs download of repository
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = {
|
# pythonImportsCheck does not work
|
||||||
|
# TypeError: load() missing 1 required positional argument: 'Loader'
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Srim Automation of Tasks via Python";
|
description = "Srim Automation of Tasks via Python";
|
||||||
homepage = "https://gitlab.com/costrouc/pysrim";
|
homepage = "https://gitlab.com/costrouc/pysrim";
|
||||||
license = lib.licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ costrouc ];
|
maintainers = with maintainers; [ costrouc ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-roborock";
|
pname = "python-roborock";
|
||||||
version = "0.23.4";
|
version = "0.23.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
owner = "humbertogontijo";
|
owner = "humbertogontijo";
|
||||||
repo = "python-roborock";
|
repo = "python-roborock";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-8rcttFo1kkx0JfySjcKchlPc0RjutF6MuA/DVSpclKo=";
|
hash = "sha256-5WgCVdmEhFrKYT7Uflnjv6OIISk//VH2aoxVwlWuPTk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyunifiprotect";
|
pname = "pyunifiprotect";
|
||||||
version = "4.10.1";
|
version = "4.10.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||||||
owner = "briis";
|
owner = "briis";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-DJxfr4pQna+up5XYi4zs66oTuHzLVz0bEuql6mW2e70=";
|
hash = "sha256-q54TLmPVo7dz9IkTZfz2qk13TQkMIopWhxlPac0IBGA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "reolink-aio";
|
pname = "reolink-aio";
|
||||||
version = "0.5.16";
|
version = "0.6.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
owner = "starkillerOG";
|
owner = "starkillerOG";
|
||||||
repo = "reolink_aio";
|
repo = "reolink_aio";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-FyrTZqp4h4GOCxld+y3wDEfLOl6a6dCgs/LJetjmr8I=";
|
hash = "sha256-fDtZEcHv13f9WtNZKoT8/I+Hz145n7SmQz0t9CVqE3g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
52
pkgs/development/python-modules/sensirion-ble/default.nix
Normal file
52
pkgs/development/python-modules/sensirion-ble/default.nix
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, hatchling
|
||||||
|
, bluetooth-data-tools
|
||||||
|
, bluetooth-sensor-state-data
|
||||||
|
, home-assistant-bluetooth
|
||||||
|
, sensor-state-data
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "sensirion-ble";
|
||||||
|
version = "0.1.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "akx";
|
||||||
|
repo = "sensirion-ble";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-7l76/Bci1ztt2CfwytLOySK6IL8IDijpB0AYhksRP7o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace " --cov=sensirion_ble --cov-report=term-missing:skip-covered" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
bluetooth-data-tools
|
||||||
|
bluetooth-sensor-state-data
|
||||||
|
home-assistant-bluetooth
|
||||||
|
sensor-state-data
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"sensirion_ble"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Parser for Sensirion BLE devices";
|
||||||
|
homepage = "https://github.com/akx/sensirion-ble";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,21 +1,39 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, six, pytest, pytest-runner }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, six
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "srptools";
|
pname = "srptools";
|
||||||
version = "1.0.1";
|
version = "1.0.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "7fa4337256a1542e8f5bb4bed19e1d9aea98fe5ff9baf76693342a1dd6ac7c96";
|
hash = "sha256-f6QzclahVC6PW7S+0Z4dmuqY/l/5uvdmkzQqHdasfJY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytest pytest-runner ];
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"srptools"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python-Tools to implement Secure Remote Password (SRP) authentication";
|
description = "Module to implement Secure Remote Password (SRP) authentication";
|
||||||
homepage = "https://github.com/idlesign/srptools";
|
homepage = "https://github.com/idlesign/srptools";
|
||||||
|
changelog = "https://github.com/idlesign/srptools/blob/v${version}/CHANGELOG";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
@ -1,12 +1,18 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ lib
|
||||||
, colorama, regex
|
, buildPythonPackage
|
||||||
, pytest-runner, pytestCheckHook, pytest-mypy
|
, colorama
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-mypy
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, regex
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tatsu";
|
pname = "tatsu";
|
||||||
version = "5.8.3";
|
version = "5.8.3";
|
||||||
# upstream only supports 3.10+
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.10";
|
disabled = pythonOlder "3.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -16,11 +22,19 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-cKEMRbH/xNtYM0lmNVazv3i0Q1tmVrVPrB6F2s02Sro=";
|
hash = "sha256-cKEMRbH/xNtYM0lmNVazv3i0Q1tmVrVPrB6F2s02Sro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest-runner ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ colorama regex ];
|
colorama
|
||||||
nativeCheckInputs = [ pytestCheckHook pytest-mypy ];
|
regex
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "tatsu" ];
|
nativeCheckInputs = [
|
||||||
|
pytest-mypy
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"tatsu"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Generates Python parsers from grammars in a variation of EBNF";
|
description = "Generates Python parsers from grammars in a variation of EBNF";
|
||||||
@ -30,8 +44,8 @@ buildPythonPackage rec {
|
|||||||
Python.
|
Python.
|
||||||
'';
|
'';
|
||||||
homepage = "https://tatsu.readthedocs.io/";
|
homepage = "https://tatsu.readthedocs.io/";
|
||||||
|
changelog = "https://github.com/neogeny/TatSu/releases/tag/v${version}";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -38,10 +38,8 @@ in buildPythonPackage {
|
|||||||
|
|
||||||
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = lib.optionals stdenv.isLinux [
|
||||||
addOpenGLRunpath
|
addOpenGLRunpath
|
||||||
patchelf
|
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
|
||||||
autoPatchelfHook
|
autoPatchelfHook
|
||||||
cudaPackages.autoAddOpenGLRunpathHook
|
cudaPackages.autoAddOpenGLRunpathHook
|
||||||
];
|
];
|
||||||
|
@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wasabi";
|
pname = "wasabi";
|
||||||
version = "1.1.1";
|
version = "1.1.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-9e58YJAngRvRbmIPL9enMZRmAFhI5BsFGmIFOrj9cNY=";
|
hash = "sha256-Gq7zrOqjLtuckTMNKdOTbAw5/blldDVJwXPLVLFsMLU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -3,26 +3,33 @@
|
|||||||
, click
|
, click
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, mock
|
, mock
|
||||||
, pytest-runner
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests
|
, requests
|
||||||
|
, pythonOlder
|
||||||
, websocket-client
|
, websocket-client
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "waterfurnace";
|
pname = "waterfurnace";
|
||||||
version = "1.1.0";
|
version = "1.1.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sdague";
|
owner = "sdague";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "1ba247fw1fvi7zy31zj2wbjq7fajrbxhp139cl9jj67rfvxfv8xf";
|
sha256 = "1ba247fw1fvi7zy31zj2wbjq7fajrbxhp139cl9jj67rfvxfv8xf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "'pytest-runner'," ""
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
click
|
click
|
||||||
pytest-runner
|
|
||||||
requests
|
requests
|
||||||
websocket-client
|
websocket-client
|
||||||
];
|
];
|
||||||
@ -32,11 +39,14 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "waterfurnace" ];
|
pythonImportsCheck = [
|
||||||
|
"waterfurnace"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python interface to waterfurnace geothermal systems";
|
description = "Python interface to waterfurnace geothermal systems";
|
||||||
homepage = "https://github.com/sdague/waterfurnace";
|
homepage = "https://github.com/sdague/waterfurnace";
|
||||||
|
changelog = "https://github.com/sdague/waterfurnace/blob/v${version}/HISTORY.rst";
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
};
|
};
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
, zlib
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "sbt";
|
pname = "sbt";
|
||||||
version = "1.8.3";
|
version = "1.9.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/sbt/sbt/releases/download/v${version}/sbt-${version}.tgz";
|
url = "https://github.com/sbt/sbt/releases/download/v${finalAttrs.version}/sbt-${finalAttrs.version}.tgz";
|
||||||
sha256 = "sha256-IfQhB4b9aP0V3KP0yO6crg2yScVOGw726Cnp+kk2Qjo=";
|
hash = "sha256-zFWTSOr5z75s4i9omx5EDI4FtOSc1r6jmHZHd7N5SMQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -50,4 +50,4 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = with maintainers; [ nequissimus ];
|
maintainers = with maintainers; [ nequissimus ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
@ -6,11 +6,11 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "squirrel-sql";
|
pname = "squirrel-sql";
|
||||||
version = "4.5.1";
|
version = "4.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/squirrel-sql/1-stable/${version}-plainzip/squirrelsql-${version}-standard.zip";
|
url = "mirror://sourceforge/project/squirrel-sql/1-stable/${version}-plainzip/squirrelsql-${version}-standard.zip";
|
||||||
sha256 = "sha256-LKX8yNSLs60546ZcvLlQF3e++VxHmPsczui4cfrpia0=";
|
sha256 = "sha256-MMRn83yAi9saUI3/QHggj4s2t0uzZ1oJf9+CIqf4dGc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper unzip ];
|
nativeBuildInputs = [ makeWrapper unzip ];
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "earthly";
|
pname = "earthly";
|
||||||
version = "0.7.7";
|
version = "0.7.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "earthly";
|
owner = "earthly";
|
||||||
repo = "earthly";
|
repo = "earthly";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-tYoC9OCNAtdQwWyznac5PVl7KLObbFfjs138y5LeQ2A=";
|
sha256 = "sha256-zLv0wuAM6d84Z2jCf89KDIIqX+Hiiw40g3DnTZxVTYY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-1y34WH1JGAs1eDxreHMqUlGTyrixUFIV1DPN/N5wzS4=";
|
vendorHash = "sha256-NUm+vkJsT78pxrPqwDofPlrc6jQMTFjsRF7uPUPhDGQ=";
|
||||||
subPackages = [ "cmd/earthly" "cmd/debugger" ];
|
subPackages = [ "cmd/earthly" "cmd/debugger" ];
|
||||||
|
|
||||||
CGO_ENABLED = 0;
|
CGO_ENABLED = 0;
|
||||||
|
31
pkgs/development/tools/go-callvis/default.nix
Normal file
31
pkgs/development/tools/go-callvis/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "go-callvis";
|
||||||
|
version = "0.7.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ofabry";
|
||||||
|
repo = "go-callvis";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-PIzmnqlK+uFtzZW4H0xpP5c+X30hFvOjQydvreJn4xM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-AfbUxA5C5dH70+vqC+1RGaTt7S0FL9CBcxel0ifmHKs=";
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
# Build errors in github.com/goccy/go-graphviz/internal/ccall when format hardening is enabled:
|
||||||
|
# cc1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Visualize call graph of a Go program using Graphviz";
|
||||||
|
homepage = "https://github.com/ofabry/go-callvis";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ meain ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,14 +1,24 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, llvm_12, ncurses, readline, zlib, libxml2 }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
stdenv.mkDerivation {
|
, llvmPackages_10
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, llvm_12
|
||||||
|
, ncurses
|
||||||
|
, readline
|
||||||
|
, zlib
|
||||||
|
, libxml2
|
||||||
|
, python3
|
||||||
|
}:
|
||||||
|
llvmPackages_10.stdenv.mkDerivation {
|
||||||
pname = "hobbes";
|
pname = "hobbes";
|
||||||
version = "unstable-2021-04-28";
|
version = "unstable-2023-06-03";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "morgan-stanley";
|
owner = "morganstanley";
|
||||||
repo = "hobbes";
|
repo = "hobbes";
|
||||||
rev = "737c7ca63516f6b3dca0e659c3de75d4325472d6";
|
rev = "88a712b85bc896a4c87e60c12321445f1cdcfd00";
|
||||||
sha256 = "0fjsmz1sbrp6464mrb9ha7p615w2l2pdldsc2ayvcrvxfyi1r4gj";
|
hash = "sha256-2v0yk35/cLKTjX0Qbc8cjc7Y6bamRSa9GpPvGoxL2Cw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: re-enable Python tests once they work on Python 3
|
# TODO: re-enable Python tests once they work on Python 3
|
||||||
@ -27,6 +37,7 @@ stdenv.mkDerivation {
|
|||||||
readline
|
readline
|
||||||
zlib
|
zlib
|
||||||
libxml2
|
libxml2
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "runme";
|
pname = "runme";
|
||||||
version = "1.2.2";
|
version = "1.2.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "stateful";
|
owner = "stateful";
|
||||||
repo = "runme";
|
repo = "runme";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-SVYxFutmDDHEbYLExy0IxqZZZO13gUVPAA0X1ehVXME=";
|
hash = "sha256-AhGApOUzmdf9TOF0cESrvg8CVT918nzolVHriVNxsaE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-el+gM3GRN5KU4RlSAx02rn+22xj28IZq3erZUzPbUUw=";
|
vendorHash = "sha256-el+gM3GRN5KU4RlSAx02rn+22xj28IZq3erZUzPbUUw=";
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-vet";
|
pname = "cargo-vet";
|
||||||
version = "0.6.1";
|
version = "0.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mozilla";
|
owner = "mozilla";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-PAqpVixBdytHvSUu03OyoA1QGBxmmoeV78x6wCiCemQ=";
|
sha256 = "sha256-URTWfV/weXWvgaZv7RWKqr7w3dnad2Pr5wNv0rcm2eg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-dsaDpDa/BNqnL3K4a1mg3uEyM094/UO73MzJD9YaAwE=";
|
cargoSha256 = "sha256-cnxVcq5v6MXH7hrdT4kE+8DxJY5z2fGCF3G6GGJx8pw=";
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "typos";
|
pname = "typos";
|
||||||
version = "1.14.12";
|
version = "1.15.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "crate-ci";
|
owner = "crate-ci";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-mHgGNSG0mKuI3fIgbfcTI6rnsLiL41g6GZAyN8ZRXI0=";
|
hash = "sha256-SbWwrvfLawWoVuCG9b4PrA5cdc+DLqJw2uSF3oha9Po=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-mHmnQ2hntP/FRHgKrwQHcY1+l9ukIvu8SNUSzuRbyf4=";
|
cargoHash = "sha256-XLnN6kCjHntqZu80Uvm95pCabjR5QMvsumb+V002N2Y=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Source code spell checker";
|
description = "Source code spell checker";
|
||||||
|
40
pkgs/development/tools/xcodes/default.nix
Normal file
40
pkgs/development/tools/xcodes/default.nix
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{ lib, stdenv, fetchurl, unzip }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "xcodes";
|
||||||
|
version = "1.3.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/XcodesOrg/xcodes/releases/download/${finalAttrs.version}/xcodes.zip";
|
||||||
|
hash = "sha256:0cqb0gfb80xrnm4fipr46kbzqz2kicc13afhdxkbifzm4k83any5";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ unzip ];
|
||||||
|
|
||||||
|
unpackPhase = ''
|
||||||
|
runHook preUnpack
|
||||||
|
unzip -q $src
|
||||||
|
runHook postUnpack
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontPatch = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install -m755 xcodes $out/bin/xcodes
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
dontFixup = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Command-line tool to install and switch between multiple versions of Xcode";
|
||||||
|
homepage = "https://github.com/XcodesOrg/xcodes";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ _0x120581f ];
|
||||||
|
platforms = platforms.darwin;
|
||||||
|
};
|
||||||
|
})
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
buildGraalvmNativeImage rec {
|
buildGraalvmNativeImage rec {
|
||||||
pname = "zprint";
|
pname = "zprint";
|
||||||
version = "1.2.6";
|
version = "1.2.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}";
|
url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}";
|
||||||
sha256 = "sha256-mzhl7boAMKZ5bj184LLCWR/faDjJI+crX4Vzbh7eosY=";
|
sha256 = "sha256-C2WEzF7Xl37/LDlk6f77/WcWNadE0zAfzxEw+RTRGto=";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraNativeImageBuildArgs = [
|
extraNativeImageBuildArgs = [
|
||||||
|
@ -9,8 +9,8 @@ let
|
|||||||
in
|
in
|
||||||
buildNodejs {
|
buildNodejs {
|
||||||
inherit enableNpm;
|
inherit enableNpm;
|
||||||
version = "20.2.0";
|
version = "20.3.0";
|
||||||
sha256 = "sha256-IlI98jFsNVaXFP8fabBTwuKGztRgiYQX3uRpRe/N+Yk=";
|
sha256 = "sha256-G6jUlCPtOnVykGa7PqJkk+6ct9ZWjvlIWX/J70VPdDU=";
|
||||||
patches = [
|
patches = [
|
||||||
./revert-arm64-pointer-auth.patch
|
./revert-arm64-pointer-auth.patch
|
||||||
./disable-darwin-v8-system-instrumentation-node19.patch
|
./disable-darwin-v8-system-instrumentation-node19.patch
|
||||||
|
@ -10,15 +10,15 @@
|
|||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "arx-libertatis";
|
pname = "arx-libertatis";
|
||||||
version = "2020-10-20";
|
version = "1.2.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "arx";
|
owner = "arx";
|
||||||
repo = "ArxLibertatis";
|
repo = "ArxLibertatis";
|
||||||
rev = "21df2e37664de79e117eff2af164873f05600f4c";
|
rev = version;
|
||||||
sha256 = "06plyyh0ddqv1j04m1vclz9j72609pgrp61v8wfjdcln8djm376i";
|
sha256 = "GBJcsibolZP3oVOTSaiVqG2nMmvXonKTp5i/0NNODKY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
From 7e99cf4ae3f38406133a4abf962527cd02416f8e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sebastian Galkin <paraseba@gmail.com>
|
|
||||||
Date: Wed, 20 Dec 2017 18:23:03 -0200
|
|
||||||
Subject: [PATCH] put fonts in $out
|
|
||||||
|
|
||||||
---
|
|
||||||
Makefile.conf | 22 ++++------------------
|
|
||||||
configure | 12 ------------
|
|
||||||
2 files changed, 4 insertions(+), 30 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Makefile.conf b/Makefile.conf
|
|
||||||
index e7f8de9..87f3fff 100644
|
|
||||||
--- a/Makefile.conf
|
|
||||||
+++ b/Makefile.conf
|
|
||||||
@@ -226,19 +226,11 @@ install_scid: all_scid
|
|
||||||
fi
|
|
||||||
install -m 755 -d $(SHAREDIR)/bitmaps
|
|
||||||
cp -r ./bitmaps/* $(SHAREDIR)/bitmaps/
|
|
||||||
- @if [ "`id -u`" -eq 0 ]; then \
|
|
||||||
- install -m 755 -d $(FONTDIR); \
|
|
||||||
- install -m 644 -p fonts/*.ttf $(FONTDIR); \
|
|
||||||
- else \
|
|
||||||
- install -m 755 -d ~/.fonts; \
|
|
||||||
- install -m 644 -p fonts/*.ttf ~/.fonts; \
|
|
||||||
- fi
|
|
||||||
+ install -m 755 -d $(FONTDIR); \
|
|
||||||
+ install -m 644 -p fonts/*.ttf $(FONTDIR); \
|
|
||||||
+
|
|
||||||
@if [ ! -z "`which fc-cache`" ]; then \
|
|
||||||
- if [ "`id -u`" -eq 0 ]; then \
|
|
||||||
- fc-cache -fv $(FONTDIR); \
|
|
||||||
- else \
|
|
||||||
- fc-cache -fv ~/.fonts; \
|
|
||||||
- fi; \
|
|
||||||
+ fc-cache -fv $(FONTDIR); \
|
|
||||||
else \
|
|
||||||
echo "Don't know how to setup truetype fonts (fc-cache not available)."; \
|
|
||||||
echo "Please contact your system administrator."; \
|
|
||||||
@@ -292,12 +284,6 @@ uninstall:
|
|
||||||
for f in `ls fonts/*.ttf`; do \
|
|
||||||
rm -f ~/.$$f; \
|
|
||||||
done; \
|
|
||||||
- if [ ! -z "`which fc-cache`" ]; then \
|
|
||||||
- fc-cache -fv ~/.fonts; \
|
|
||||||
- fi; \
|
|
||||||
- if [ "`find ~/.fonts -type d -empty`" = "`ls -d ~/.fonts`" ]; then \
|
|
||||||
- rmdir ~/.fonts; \
|
|
||||||
- fi; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean:
|
|
||||||
diff --git a/configure b/configure
|
|
||||||
index 4599c77..8b09678 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -473,18 +473,6 @@ proc writeMakefile {{type ""}} {
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
- if {[isDarwin]} {
|
|
||||||
- set var(FONTDIR) /Library/Fonts/
|
|
||||||
- } else {
|
|
||||||
- # Just install fonts in to /usr irrespective of system prefix. /usr/local may not be active
|
|
||||||
- set prefix /usr
|
|
||||||
- if {![file isdirectory $prefix/share/fonts]} {
|
|
||||||
- set var(FONTDIR) "~/.fonts"
|
|
||||||
- } else {
|
|
||||||
- set var(FONTDIR) $prefix/share/fonts/truetype/Scid
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
set line [gets $from]
|
|
||||||
while {1} {
|
|
||||||
set line [gets $from]
|
|
||||||
--
|
|
||||||
2.15.1
|
|
||||||
|
|
@ -1,59 +1,28 @@
|
|||||||
{ lib, fetchurl, tcl, tk, libX11, zlib, makeWrapper, makeDesktopItem }:
|
{ lib, fetchurl, tcl, tk, libX11, zlib, makeWrapper, which, makeDesktopItem }:
|
||||||
|
|
||||||
tcl.mkTclDerivation rec {
|
tcl.mkTclDerivation rec {
|
||||||
pname = "scid-vs-pc";
|
pname = "scid-vs-pc";
|
||||||
version = "4.22";
|
version = "4.24";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/scidvspc/scid_vs_pc-${version}.tgz";
|
url = "mirror://sourceforge/scidvspc/scid_vs_pc-${version}.tgz";
|
||||||
sha256 = "sha256-PSHDPrfhJI/DyEVQLo8Ckargqf/iUG5PgvUbO/4WNJM=";
|
hash = "sha256-x4Ljn1vaXrue16kUofWAH2sDNYC8h3NvzFjffRo0EhA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
postPatch = ''
|
||||||
|
substituteInPlace configure Makefile.conf \
|
||||||
|
--replace "~/.fonts" "$out/share/fonts/truetype/Scid" \
|
||||||
|
--replace "which fc-cache" "false"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper which ];
|
||||||
buildInputs = [ tk libX11 zlib ];
|
buildInputs = [ tk libX11 zlib ];
|
||||||
|
|
||||||
prePatch = ''
|
configureFlags = [
|
||||||
sed -i -e '/^ *set headerPath *{/a ${tcl}/include ${tk}/include' \
|
"BINDIR=${placeholder "out"}/bin"
|
||||||
-e '/^ *set libraryPath *{/a ${tcl}/lib ${tk}/lib' \
|
"SHAREDIR=${placeholder "out"}/share"
|
||||||
-e '/^ *set x11Path *{/a ${libX11}/lib/' \
|
|
||||||
configure
|
|
||||||
|
|
||||||
sed -i -e '/^ *set scidShareDir/s|\[file.*|"'"$out/share"'"|' \
|
|
||||||
tcl/config.tcl
|
|
||||||
'';
|
|
||||||
|
|
||||||
# configureFlags = [
|
|
||||||
# "BINDIR=$(out)/bin"
|
|
||||||
# "SHAREDIR=$(out)/share"
|
|
||||||
# "FONTDIR=$(out)/fonts"
|
|
||||||
# ];
|
|
||||||
|
|
||||||
preConfigure = ''configureFlags="
|
|
||||||
BINDIR=$out/bin
|
|
||||||
SHAREDIR=$out/share
|
|
||||||
FONTDIR=$out/fonts"
|
|
||||||
'';
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
./0001-put-fonts-in-out.patch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
|
||||||
|
|
||||||
dontPatchShebangs = true;
|
|
||||||
|
|
||||||
# TODO: can this use tclWrapperArgs?
|
|
||||||
postFixup = ''
|
|
||||||
sed -i -e '1c#!'"$out"'/bin/tcscid' "$out/bin/scidpgn"
|
|
||||||
sed -i -e '1c#!${tk}/bin/wish' "$out/bin/sc_remote"
|
|
||||||
sed -i -e '1c#!'"$out"'/bin/tkscid' "$out/bin/scid"
|
|
||||||
|
|
||||||
for cmd in $out/bin/* ; do
|
|
||||||
wrapProgram "$cmd" \
|
|
||||||
--set TK_LIBRARY "${tk}/lib/${tk.libPrefix}"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
cp $desktopItem/share/applications/* $out/share/applications/
|
cp $desktopItem/share/applications/* $out/share/applications/
|
||||||
|
222
pkgs/games/shipwright/default.nix
Normal file
222
pkgs/games/shipwright/default.nix
Normal file
@ -0,0 +1,222 @@
|
|||||||
|
{ stdenv
|
||||||
|
, cmake
|
||||||
|
, lsb-release
|
||||||
|
, ninja
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, fetchurl
|
||||||
|
, makeDesktopItem
|
||||||
|
, python3
|
||||||
|
, libX11
|
||||||
|
, libXrandr
|
||||||
|
, libXinerama
|
||||||
|
, libXcursor
|
||||||
|
, libXi
|
||||||
|
, libXext
|
||||||
|
, glew
|
||||||
|
, boost
|
||||||
|
, SDL2
|
||||||
|
, SDL2_net
|
||||||
|
, pkg-config
|
||||||
|
, libpulseaudio
|
||||||
|
, libpng
|
||||||
|
, imagemagick
|
||||||
|
, requireFile
|
||||||
|
|
||||||
|
, oot ? rec {
|
||||||
|
enable = true;
|
||||||
|
variant = "debug";
|
||||||
|
|
||||||
|
rom = requireFile {
|
||||||
|
name = "oot-${variant}.z64";
|
||||||
|
message = ''
|
||||||
|
This nix expression requires that oot-${variant}.z64 is already part of the store.
|
||||||
|
To get this file you can dump your Ocarina of Time's cartridge to a file,
|
||||||
|
and add it to the nix store with nix-store --add-fixed sha1 <FILE>, or override the package:
|
||||||
|
shipwright.override { oot = { enable = true; variant = "debug"; rom = path/to/oot-debug-mq.z64; } }
|
||||||
|
|
||||||
|
The supported variants are:
|
||||||
|
- debug: Ocarina of Time Debug PAL GC (not Master Quest)
|
||||||
|
- pal-gc: Ocarina of Time PAL GameCube (may lead to crashes and instability)
|
||||||
|
|
||||||
|
This is optional if you have imported an Ocarina of Time Master Quest ROM.
|
||||||
|
If so, please set oot.enable to false and ootMq.enable to true.
|
||||||
|
If both are enabled, Ship of Harkinian will be built with both ROMs.
|
||||||
|
'';
|
||||||
|
|
||||||
|
# From upstream: https://github.com/HarbourMasters/Shipwright/blob/e46c60a7a1396374e23f7a1f7122ddf9efcadff7/README.md#1-check-your-sha1
|
||||||
|
sha1 = {
|
||||||
|
debug = "cee6bc3c2a634b41728f2af8da54d9bf8cc14099";
|
||||||
|
pal-gc = "0227d7c0074f2d0ac935631990da8ec5914597b4";
|
||||||
|
}.${variant} or (throw "Unsupported romVariant ${variant}. Valid options are 'debug' and 'pal-gc'.");
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
, ootMq ? rec {
|
||||||
|
enable = false;
|
||||||
|
variant = "debug-mq";
|
||||||
|
|
||||||
|
rom = requireFile {
|
||||||
|
name = "oot-${variant}.z64";
|
||||||
|
message = ''
|
||||||
|
This nix expression requires that oot-${variant}.z64 is already part of the store.
|
||||||
|
To get this file you can dump your Ocarina of Time Master Quest's cartridge to a file,
|
||||||
|
and add it to the nix store with nix-store --add-fixed sha1 <FILE>, or override the package:
|
||||||
|
shipwright.override { ootMq = { enable = true; variant = "debug-mq"; rom = path/to/oot-debug-mq.z64; } }
|
||||||
|
|
||||||
|
The supported variants are:
|
||||||
|
- debug-mq: Ocarina of Time Debug PAL GC MQ (Dungeons will be Master Quest)
|
||||||
|
- debug-mq-alt: Alternate ROM, not produced by decompilation.
|
||||||
|
|
||||||
|
This is optional if you have imported an Ocarina of Time ROM.
|
||||||
|
If so, please set oot.enable to true and ootMq.enable to false.
|
||||||
|
If both are enabled, Ship of Harkinian will be built with both ROMs.
|
||||||
|
'';
|
||||||
|
|
||||||
|
# From upstream: https://github.com/HarbourMasters/Shipwright/blob/e46c60a7a1396374e23f7a1f7122ddf9efcadff7/README.md#1-check-your-sha1
|
||||||
|
sha1 = {
|
||||||
|
debug-mq = "079b855b943d6ad8bd1eb026c0ed169ecbdac7da";
|
||||||
|
debug-mq-alt = "50bebedad9e0f10746a52b07239e47fa6c284d03";
|
||||||
|
}.${variant} or (throw "Unsupported mqRomVariant ${variant}. Valid options are 'debug-mq' and 'debug-mq-alt'.");
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
checkAttrs = attrs:
|
||||||
|
let
|
||||||
|
validAttrs = [ "enable" "rom" "variant" ];
|
||||||
|
in
|
||||||
|
lib.all (name: lib.elem name validAttrs) (lib.attrNames attrs);
|
||||||
|
in
|
||||||
|
assert (lib.assertMsg (checkAttrs oot) "oot must have the attributes 'enable' and 'rom', and none other");
|
||||||
|
assert (lib.assertMsg (checkAttrs ootMq) "ootMq must have the attributes 'enable' and 'rom', and none other");
|
||||||
|
assert (lib.assertMsg (oot.enable || ootMq.enable) "At least one of 'oot.enable' and 'ootMq.enable' must be true");
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "shipwright";
|
||||||
|
version = "7.0.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "harbourmasters";
|
||||||
|
repo = "shipwright";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-2VCcczGWSvp6hk8FTA1/T1E1KkrrvWyOdkEw8eiYYnY=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# This would get fetched at build time otherwise, see:
|
||||||
|
# https://github.com/HarbourMasters/Shipwright/blob/e46c60a7a1396374e23f7a1f7122ddf9efcadff7/soh/CMakeLists.txt#L736
|
||||||
|
gamecontrollerdb = fetchurl {
|
||||||
|
name = "gamecontrollerdb.txt";
|
||||||
|
url = "https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/c5b4df0e1061175cb11e3ebbf8045178339864a5/gamecontrollerdb.txt";
|
||||||
|
hash = "sha256-2VFCsaalXoe+JYWCH6IbgjnLXNKxe0UqSyJNGZMn5Ko=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
lsb-release
|
||||||
|
python3
|
||||||
|
imagemagick
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
boost
|
||||||
|
libX11
|
||||||
|
libXrandr
|
||||||
|
libXinerama
|
||||||
|
libXcursor
|
||||||
|
libXi
|
||||||
|
libXext
|
||||||
|
glew
|
||||||
|
SDL2
|
||||||
|
SDL2_net
|
||||||
|
libpulseaudio
|
||||||
|
libpng
|
||||||
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# These patches make soh look inside the nix store for data files (the controller database and the OTRs)
|
||||||
|
./lus-install-paths.patch
|
||||||
|
./soh-misc-otr-patches.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/lib"
|
||||||
|
];
|
||||||
|
|
||||||
|
dontAddPrefix = true;
|
||||||
|
|
||||||
|
# Linking fails without this
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
cp ${gamecontrollerdb} ${gamecontrollerdb.name}
|
||||||
|
|
||||||
|
pushd ../OTRExporter
|
||||||
|
${lib.optionalString oot.enable "python3 ./extract_assets.py -z ../build/ZAPD/ZAPD.out ${oot.rom}"}
|
||||||
|
${lib.optionalString ootMq.enable "python3 ./extract_assets.py -z ../build/ZAPD/ZAPD.out ${ootMq.rom}"}
|
||||||
|
popd
|
||||||
|
'';
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
# Cmake likes it here for its install paths
|
||||||
|
cp ../OTRExporter/soh.otr ..
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
|
||||||
|
# Copy the extracted assets, required to be in the same directory as the executable
|
||||||
|
${lib.optionalString oot.enable "cp ../OTRExporter/oot.otr $out/lib"}
|
||||||
|
${lib.optionalString ootMq.enable "cp ../OTRExporter/oot-mq.otr $out/lib"}
|
||||||
|
|
||||||
|
ln -s $out/lib/soh.elf $out/bin/soh
|
||||||
|
'';
|
||||||
|
|
||||||
|
desktopItems = [
|
||||||
|
(makeDesktopItem {
|
||||||
|
name = "soh";
|
||||||
|
icon = "soh";
|
||||||
|
exec = "soh";
|
||||||
|
genericName = "Ship of Harkinian";
|
||||||
|
desktopName = "soh";
|
||||||
|
categories = [ "Game" ];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/HarbourMasters/Shipwright";
|
||||||
|
description = "A PC port of Ocarina of Time with modern controls, widescreen, high-resolution, and more";
|
||||||
|
longDescription = ''
|
||||||
|
An PC port of Ocarina of Time with modern controls, widescreen, high-resolution and more, based off of decompilation.
|
||||||
|
Note that you must supply an OoT rom yourself to use this package because propietary assets are extracted from it.
|
||||||
|
|
||||||
|
You can change the game variant like this:
|
||||||
|
shipwright.override { oot.enable = false; ootMq.enable = true }
|
||||||
|
|
||||||
|
The default ROM variants for Oot and OotMq are debug and debug-mq respectively.
|
||||||
|
If you have a pal-gc rom, you should override like this:
|
||||||
|
shipwright.override { oot = { enable = true; variant = "pal-gc"; rom = path/to/oot-pal-gc.z64; } }
|
||||||
|
|
||||||
|
The supported Oot variants are:
|
||||||
|
- debug: Ocarina of Time Debug PAL GC (not Master Quest)
|
||||||
|
- pal-gc: Ocarina of Time PAL GameCube (may lead to crashes and instability)
|
||||||
|
|
||||||
|
The supported OotMq variants are:
|
||||||
|
- debug-mq: Ocarina of Time Debug PAL GC MQ (Dungeons will be Master Quest)
|
||||||
|
- debug-mq-alt: Alternate ROM, not produced by decompilation.
|
||||||
|
'';
|
||||||
|
mainProgram = "soh";
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
maintainers = with maintainers; [ ivar j0lol ];
|
||||||
|
license = with licenses; [
|
||||||
|
# OTRExporter, OTRGui, ZAPDTR, libultraship
|
||||||
|
mit
|
||||||
|
# Ship of Harkinian itself
|
||||||
|
unfree
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
146
pkgs/games/shipwright/lus-install-paths.patch
Normal file
146
pkgs/games/shipwright/lus-install-paths.patch
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
Submodule libultraship contains modified content
|
||||||
|
diff --git a/libultraship/src/CMakeLists.txt b/libultraship/src/CMakeLists.txt
|
||||||
|
index f95c3c9..5b967b9 100644
|
||||||
|
--- a/libultraship/src/CMakeLists.txt
|
||||||
|
+++ b/libultraship/src/CMakeLists.txt
|
||||||
|
@@ -74,7 +74,10 @@ target_sources(libultraship PRIVATE ${Source_Files__Controller})
|
||||||
|
|
||||||
|
#=================== Core ===================
|
||||||
|
|
||||||
|
+configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/install_config.h.in ${CMAKE_BINARY_DIR}/install_config.h @ONLY)
|
||||||
|
+
|
||||||
|
set(Source_Files__Core
|
||||||
|
+ ${CMAKE_BINARY_DIR}/install_config.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/core/Window.h
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/core/Window.cpp
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/core/ConsoleVariable.h
|
||||||
|
@@ -329,7 +332,7 @@ endif()
|
||||||
|
#=================== Packages & Includes ===================
|
||||||
|
|
||||||
|
target_include_directories(libultraship
|
||||||
|
- PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../extern
|
||||||
|
+ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../extern ${CMAKE_BINARY_DIR}
|
||||||
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../extern/spdlog/include ${CMAKE_CURRENT_SOURCE_DIR}/../extern/stb
|
||||||
|
)
|
||||||
|
|
||||||
|
diff --git a/libultraship/src/core/Context.cpp b/libultraship/src/core/Context.cpp
|
||||||
|
index 776333e..fa546e6 100644
|
||||||
|
--- a/libultraship/src/core/Context.cpp
|
||||||
|
+++ b/libultraship/src/core/Context.cpp
|
||||||
|
@@ -14,6 +14,7 @@
|
||||||
|
#elif defined(__WIIU__)
|
||||||
|
#include "port/wiiu/WiiUImpl.h"
|
||||||
|
#endif
|
||||||
|
+#include "install_config.h"
|
||||||
|
|
||||||
|
namespace LUS {
|
||||||
|
std::weak_ptr<Context> Context::mContext;
|
||||||
|
@@ -281,6 +282,18 @@ std::string Context::GetShortName() {
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string Context::GetAppBundlePath() {
|
||||||
|
+#ifdef CMAKE_INSTALL_PREFIX
|
||||||
|
+ static const std::string fpath = CMAKE_INSTALL_PREFIX;
|
||||||
|
+ static int exists = -1;
|
||||||
|
+
|
||||||
|
+ if (exists == -1) {
|
||||||
|
+ exists = fpath.size() > 0 && std::filesystem::is_directory(fpath);
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ if (exists) {
|
||||||
|
+ return fpath;
|
||||||
|
+ }
|
||||||
|
+#else
|
||||||
|
#ifdef __APPLE__
|
||||||
|
FolderManager folderManager;
|
||||||
|
return folderManager.getMainBundlePath();
|
||||||
|
@@ -291,6 +304,7 @@ std::string Context::GetAppBundlePath() {
|
||||||
|
if (fpath != NULL) {
|
||||||
|
return std::string(fpath);
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return ".";
|
||||||
|
@@ -304,6 +318,13 @@ std::string Context::GetAppDirectoryPath() {
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+ char *prefpath = SDL_GetPrefPath(NULL, "soh");
|
||||||
|
+ if (prefpath != NULL) {
|
||||||
|
+ std::string ret(prefpath);
|
||||||
|
+ SDL_free(prefpath);
|
||||||
|
+ return ret;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
return ".";
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -315,7 +336,24 @@ std::string Context::GetPathRelativeToAppDirectory(const char* path) {
|
||||||
|
return GetAppDirectoryPath() + "/" + path;
|
||||||
|
}
|
||||||
|
|
||||||
|
+std::string Context::FindFileFromAllAppDirectories(const char* path) {
|
||||||
|
+ std::string fpath;
|
||||||
|
+
|
||||||
|
+ // app configuration dir (eg. ~/.local/share)
|
||||||
|
+ fpath = GetPathRelativeToAppDirectory(path);
|
||||||
|
+ if (std::filesystem::exists(fpath)) {
|
||||||
|
+ return fpath;
|
||||||
|
+ }
|
||||||
|
+ // app install dir (eg. /usr/)
|
||||||
|
+ fpath = GetPathRelativeToAppBundle(path);
|
||||||
|
+ if (std::filesystem::exists(fpath)) {
|
||||||
|
+ return fpath;
|
||||||
|
+ }
|
||||||
|
+ // current dir
|
||||||
|
+ return "./" + std::string(path);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
bool Context::DoesOtrFileExist() {
|
||||||
|
return mOtrFileExists;
|
||||||
|
}
|
||||||
|
-} // namespace LUS
|
||||||
|
\ No newline at end of file
|
||||||
|
+} // namespace LUS
|
||||||
|
diff --git a/libultraship/src/core/Context.h b/libultraship/src/core/Context.h
|
||||||
|
index c32f4dd..a9f1639 100644
|
||||||
|
--- a/libultraship/src/core/Context.h
|
||||||
|
+++ b/libultraship/src/core/Context.h
|
||||||
|
@@ -26,6 +26,7 @@ class Context {
|
||||||
|
static std::string GetAppDirectoryPath();
|
||||||
|
static std::string GetPathRelativeToAppDirectory(const char* path);
|
||||||
|
static std::string GetPathRelativeToAppBundle(const char* path);
|
||||||
|
+ static std::string FindFileFromAllAppDirectories(const char* path);
|
||||||
|
|
||||||
|
Context(std::string name, std::string shortName);
|
||||||
|
|
||||||
|
diff --git a/libultraship/src/core/libultra/os.cpp b/libultraship/src/core/libultra/os.cpp
|
||||||
|
index 9058fe1..7d9387e 100644
|
||||||
|
--- a/libultraship/src/core/libultra/os.cpp
|
||||||
|
+++ b/libultraship/src/core/libultra/os.cpp
|
||||||
|
@@ -21,8 +21,8 @@ int32_t osContInit(OSMesgQueue* mq, uint8_t* controllerBits, OSContStatus* statu
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifndef __SWITCH__
|
||||||
|
- const char* controllerDb = "gamecontrollerdb.txt";
|
||||||
|
- int mappingsAdded = SDL_GameControllerAddMappingsFromFile(controllerDb);
|
||||||
|
+ std::string controllerDb = LUS::Context::GetPathRelativeToAppBundle("gamecontrollerdb.txt");
|
||||||
|
+ int mappingsAdded = SDL_GameControllerAddMappingsFromFile(controllerDb.c_str());
|
||||||
|
if (mappingsAdded >= 0) {
|
||||||
|
SPDLOG_INFO("Added SDL game controllers from \"{}\" ({})", controllerDb, mappingsAdded);
|
||||||
|
} else {
|
||||||
|
@@ -90,4 +90,4 @@ int32_t osRecvMesg(OSMesgQueue* mq, OSMesg* msg, int32_t flag) {
|
||||||
|
mq->validCount--;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
-}
|
||||||
|
\ No newline at end of file
|
||||||
|
+}
|
||||||
|
diff --git a/libultraship/src/install_config.h.in b/libultraship/src/install_config.h.in
|
||||||
|
new file mode 100644
|
||||||
|
index 0000000..029753c
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/libultraship/src/install_config.h.in
|
||||||
|
@@ -0,0 +1 @@
|
||||||
|
+#cmakedefine CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
|
119
pkgs/games/shipwright/soh-misc-otr-patches.patch
Normal file
119
pkgs/games/shipwright/soh-misc-otr-patches.patch
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
diff --git a/soh/soh/Extractor/Extract.cpp b/soh/soh/Extractor/Extract.cpp
|
||||||
|
index a9ddc4f4..f6d45fe2 100644
|
||||||
|
--- a/soh/soh/Extractor/Extract.cpp
|
||||||
|
+++ b/soh/soh/Extractor/Extract.cpp
|
||||||
|
@@ -490,28 +490,27 @@ const char* Extractor::GetZapdVerStr() const {
|
||||||
|
|
||||||
|
extern "C" int zapd_main(int argc, char** argv);
|
||||||
|
|
||||||
|
-bool Extractor::CallZapd() {
|
||||||
|
+bool Extractor::CallZapd(std::string &assetPath) {
|
||||||
|
constexpr int argc = 16;
|
||||||
|
- char xmlPath[100];
|
||||||
|
- char confPath[100];
|
||||||
|
std::array<const char*, argc> argv;
|
||||||
|
const char* version = GetZapdVerStr();
|
||||||
|
|
||||||
|
- snprintf(xmlPath, 100, "assets/extractor/xmls/%s", version);
|
||||||
|
- snprintf(confPath, 100, "assets/extractor/Config_%s.xml", version);
|
||||||
|
+ std::string xmlPath = assetPath + "/assets/extractor/xmls/" + version;
|
||||||
|
+ std::string confPath = assetPath + "/assets/extractor/Config_" + version + ".xml";
|
||||||
|
+ std::string fileListsPath = assetPath + "/assets/extractor/filelists";
|
||||||
|
|
||||||
|
argv[0] = "ZAPD";
|
||||||
|
argv[1] = "ed";
|
||||||
|
argv[2] = "-i";
|
||||||
|
- argv[3] = xmlPath;
|
||||||
|
+ argv[3] = xmlPath.c_str();
|
||||||
|
argv[4] = "-b";
|
||||||
|
argv[5] = mCurrentRomPath.c_str();
|
||||||
|
argv[6] = "-fl";
|
||||||
|
- argv[7] = "assets/extractor/filelists";
|
||||||
|
+ argv[7] = fileListsPath.c_str();
|
||||||
|
argv[8] = "-gsf";
|
||||||
|
- argv[9] = "1";
|
||||||
|
+ argv[9] = "0";
|
||||||
|
argv[10] = "-rconf";
|
||||||
|
- argv[11] = confPath;
|
||||||
|
+ argv[11] = confPath.c_str();
|
||||||
|
argv[12] = "-se";
|
||||||
|
argv[13] = "OTR";
|
||||||
|
argv[14] = "--otrfile";
|
||||||
|
diff --git a/soh/soh/Extractor/Extract.h b/soh/soh/Extractor/Extract.h
|
||||||
|
index e4eb2e5b..3c95b025 100644
|
||||||
|
--- a/soh/soh/Extractor/Extract.h
|
||||||
|
+++ b/soh/soh/Extractor/Extract.h
|
||||||
|
@@ -57,7 +57,7 @@ class Extractor {
|
||||||
|
bool IsMasterQuest() const;
|
||||||
|
|
||||||
|
bool Run(RomSearchMode searchMode = RomSearchMode::Both);
|
||||||
|
- bool CallZapd();
|
||||||
|
+ bool CallZapd(std::string& assetPath);
|
||||||
|
const char* GetZapdStr();
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp
|
||||||
|
index d192de6a..cc516085 100644
|
||||||
|
--- a/soh/soh/OTRGlobals.cpp
|
||||||
|
+++ b/soh/soh/OTRGlobals.cpp
|
||||||
|
@@ -201,11 +201,11 @@ const char* constCameraStrings[] = {
|
||||||
|
|
||||||
|
OTRGlobals::OTRGlobals() {
|
||||||
|
std::vector<std::string> OTRFiles;
|
||||||
|
- std::string mqPath = LUS::Context::GetPathRelativeToAppDirectory("oot-mq.otr");
|
||||||
|
+ std::string mqPath = LUS::Context::FindFileFromAllAppDirectories("oot-mq.otr");
|
||||||
|
if (std::filesystem::exists(mqPath)) {
|
||||||
|
OTRFiles.push_back(mqPath);
|
||||||
|
}
|
||||||
|
- std::string ootPath = LUS::Context::GetPathRelativeToAppDirectory("oot.otr");
|
||||||
|
+ std::string ootPath = LUS::Context::FindFileFromAllAppDirectories("oot.otr");
|
||||||
|
if (std::filesystem::exists(ootPath)) {
|
||||||
|
OTRFiles.push_back(ootPath);
|
||||||
|
}
|
||||||
|
@@ -213,7 +213,7 @@ OTRGlobals::OTRGlobals() {
|
||||||
|
if (std::filesystem::exists(sohOtrPath)) {
|
||||||
|
OTRFiles.push_back(sohOtrPath);
|
||||||
|
}
|
||||||
|
- std::string patchesPath = LUS::Context::GetPathRelativeToAppDirectory("mods");
|
||||||
|
+ std::string patchesPath = LUS::Context::FindFileFromAllAppDirectories("mods");
|
||||||
|
if (patchesPath.length() > 0 && std::filesystem::exists(patchesPath)) {
|
||||||
|
if (std::filesystem::is_directory(patchesPath)) {
|
||||||
|
for (const auto& p : std::filesystem::recursive_directory_iterator(patchesPath)) {
|
||||||
|
@@ -709,8 +709,10 @@ extern "C" void OTRExtScanner() {
|
||||||
|
|
||||||
|
extern "C" void InitOTR() {
|
||||||
|
#if not defined (__SWITCH__) && not defined(__WIIU__)
|
||||||
|
- if (!std::filesystem::exists(LUS::Context::GetPathRelativeToAppDirectory("oot-mq.otr")) &&
|
||||||
|
- !std::filesystem::exists(LUS::Context::GetPathRelativeToAppDirectory("oot.otr"))){
|
||||||
|
+ if (!std::filesystem::exists(LUS::Context::FindFileFromAllAppDirectories("oot-mq.otr")) &&
|
||||||
|
+ !std::filesystem::exists(LUS::Context::FindFileFromAllAppDirectories("oot.otr"))){
|
||||||
|
+ std::string exporterAssetPath = LUS::Context::GetAppBundlePath();
|
||||||
|
+
|
||||||
|
bool generatedOtrIsMQ = false;
|
||||||
|
if (Extractor::ShowYesNoBox("No OTR Files", "No OTR files found. Generate one now?") == IDYES) {
|
||||||
|
Extractor extract;
|
||||||
|
@@ -718,7 +720,7 @@ extern "C" void InitOTR() {
|
||||||
|
Extractor::ShowErrorBox("Error", "An error occured, no OTR file was generated. Exiting...");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
- extract.CallZapd();
|
||||||
|
+ extract.CallZapd(exporterAssetPath);
|
||||||
|
generatedOtrIsMQ = extract.IsMasterQuest();
|
||||||
|
} else {
|
||||||
|
exit(1);
|
||||||
|
@@ -728,7 +730,7 @@ extern "C" void InitOTR() {
|
||||||
|
if (!extract.Run(generatedOtrIsMQ ? RomSearchMode::Vanilla : RomSearchMode::MQ)) {
|
||||||
|
Extractor::ShowErrorBox("Error", "An error occured, an OTR file may have been generated by a different step. Continuing...");
|
||||||
|
} else {
|
||||||
|
- extract.CallZapd();
|
||||||
|
+ extract.CallZapd(exporterAssetPath);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -2018,4 +2020,4 @@ extern "C" void Gfx_RegisterBlendedTexture(const char* name, u8* mask, u8* repla
|
||||||
|
|
||||||
|
extern "C" void SaveManager_ThreadPoolWait() {
|
||||||
|
SaveManager::Instance->ThreadPoolWait();
|
||||||
|
-}
|
||||||
|
\ No newline at end of file
|
||||||
|
+}
|
@ -10,15 +10,15 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "urbit";
|
pname = "urbit";
|
||||||
version = "2.8";
|
version = "2.9";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/urbit/vere/releases/download/vere-v${version}/${platform}.tgz";
|
url = "https://github.com/urbit/vere/releases/download/vere-v${version}/${platform}.tgz";
|
||||||
sha256 = {
|
sha256 = {
|
||||||
x86_64-linux = "sha256-reU8i7++VdAiuH36AyfhZhAJPnE4t0nBnYvWoglrKwA=";
|
x86_64-linux = "sha256-CX3KoB5NNZBfikARh0ikeKQocaGIhbWcZsTFWOFk5oI=";
|
||||||
aarch64-linux = "sha256-l3190BUIeJVbQI1tfP8W6WHw6WyfoYpI8rnjbgevznk=";
|
aarch64-linux = "sha256-PHVh4ktUe2HIPyudiwEUNuAfwOu4yCI9lxgbjrIllSU=";
|
||||||
x86_64-darwin = "sha256-tsBuIcbWiK1oyu9UzHfwJe/nsVrLWXzoX/eIHyg4uaU=";
|
x86_64-darwin = "sha256-lACh1UYtGrZUw+dtR0Ye6zqdtgp7llV9EkUoGOi+V4c=";
|
||||||
aarch64-darwin = "sha256-f+C5DB+IeN6ZcZ4oES4dc3LQ4pwDDszffu/U/KFwqmg=";
|
aarch64-darwin = "sha256-IRVMIriFVEsv69yUCxsiUaEgIlc618tf9dHiz76D+ug=";
|
||||||
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
}.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3500,10 +3500,11 @@
|
|||||||
psutil-home-assistant
|
psutil-home-assistant
|
||||||
pyserial
|
pyserial
|
||||||
pyudev
|
pyudev
|
||||||
|
sensirion-ble
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
webrtcvad
|
webrtcvad
|
||||||
zeroconf
|
zeroconf
|
||||||
]; # missing inputs: sensirion-ble
|
];
|
||||||
"sensor" = ps: with ps; [
|
"sensor" = ps: with ps; [
|
||||||
fnv-hash-fast
|
fnv-hash-fast
|
||||||
psutil-home-assistant
|
psutil-home-assistant
|
||||||
@ -5280,6 +5281,7 @@
|
|||||||
"sense"
|
"sense"
|
||||||
"senseme"
|
"senseme"
|
||||||
"sensibo"
|
"sensibo"
|
||||||
|
"sensirion_ble"
|
||||||
"sensor"
|
"sensor"
|
||||||
"sensorpro"
|
"sensorpro"
|
||||||
"sensorpush"
|
"sensorpush"
|
||||||
|
@ -12,20 +12,20 @@ in
|
|||||||
with python3.pkgs;
|
with python3.pkgs;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "matrix-synapse";
|
pname = "matrix-synapse";
|
||||||
version = "1.85.1";
|
version = "1.85.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "matrix-org";
|
owner = "matrix-org";
|
||||||
repo = "synapse";
|
repo = "synapse";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-I/InjuTJOwYXw98qW7zT+fTnyLUo96xsVkFGSL+x+5k=";
|
hash = "sha256-pFafBsisBPfpDnFYWcimUuBgfFVPZzLna3yHeqIBAAE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-KE56crjZDM1cJnVS7MvObIQ7NvH7+fUm1Mlb6HcT9+U=";
|
hash = "sha256-dnno+5Ma0YNYpmj3oZ5UG22uAanKwVT67BwQW+mHoFc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -210,6 +210,12 @@ let
|
|||||||
"-DMAC_CODESIGN_ID=OFF"
|
"-DMAC_CODESIGN_ID=OFF"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Fish’s test suite needs to be able to look up process information and send signals.
|
||||||
|
sandboxProfile = lib.optionalString stdenv.isDarwin ''
|
||||||
|
(allow mach-lookup mach-task-name)
|
||||||
|
(allow signal (target children))
|
||||||
|
'';
|
||||||
|
|
||||||
# The optional string is kind of an inelegant way to get fish to cross compile.
|
# The optional string is kind of an inelegant way to get fish to cross compile.
|
||||||
# Fish needs coreutils as a runtime dependency, and it gets put into
|
# Fish needs coreutils as a runtime dependency, and it gets put into
|
||||||
# CMAKE_PREFIX_PATH, which cmake uses to look up build time programs, so it
|
# CMAKE_PREFIX_PATH, which cmake uses to look up build time programs, so it
|
||||||
|
@ -15,13 +15,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "acme.sh";
|
pname = "acme.sh";
|
||||||
version = "3.0.5";
|
version = "3.0.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "acmesh-official";
|
owner = "acmesh-official";
|
||||||
repo = "acme.sh";
|
repo = "acme.sh";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-IDhJRIsk+a+tP+ZeNm6nGvkDh54M0uvAMnSWHbCF3E8=";
|
hash = "sha256-4Chqdr4a9+T+/o1vCPY5xMREoYl0HxY3OlGRD86ulGs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "ansible-lint";
|
pname = "ansible-lint";
|
||||||
version = "6.16.1";
|
version = "6.17.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-Hyt5Y3n4bi3Ffxv+QoikbJdqHUBtYiHuRuOsgwf3PKM=";
|
hash = "sha256-xtoS6ett1YIjsKSEAKqiXmd69srD2dtB+xtiAG3euzY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -28,6 +28,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
# https://github.com/ansible/ansible-lint/blob/master/.config/requirements.in
|
# https://github.com/ansible/ansible-lint/blob/master/.config/requirements.in
|
||||||
ansible-core
|
ansible-core
|
||||||
|
ansible-compat
|
||||||
black
|
black
|
||||||
filelock
|
filelock
|
||||||
jsonschema
|
jsonschema
|
||||||
|
@ -5,17 +5,17 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "trivy";
|
pname = "trivy";
|
||||||
version = "0.42.0";
|
version = "0.42.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aquasecurity";
|
owner = "aquasecurity";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-TmtQ7rs77W6YFjh3y9kvIZabcGT6U/SCr5Hg6pa7K+s=";
|
sha256 = "sha256-QEjhnZmrmVzNG1/Zj8z/76v0Fb1N0rMYlvGb2pid2VM=";
|
||||||
};
|
};
|
||||||
# hash missmatch on across linux and darwin
|
# hash missmatch on across linux and darwin
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
vendorHash = "sha256-4YUJ4HfbAvYt/QtI9wmh8326T4avIXCtPkICo4lEpqQ=";
|
vendorHash = "sha256-bEmp3Fq9Zop3YCbZH4lOG71osY0P71xuhpIPOUSnHSY=";
|
||||||
|
|
||||||
excludedPackages = [ "magefiles" "misc" ];
|
excludedPackages = [ "magefiles" "misc" ];
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "otfried";
|
owner = "otfried";
|
||||||
repo = "ipe-tools";
|
repo = "ipe-tools";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
|
hash = "sha256-jlrjrjzZQo79CKMySayhCm1dqLh89wOQuXrXa2aqc0k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -22,9 +22,16 @@ stdenv.mkDerivation rec {
|
|||||||
# https://github.com/otfried/ipe-tools/pull/48
|
# https://github.com/otfried/ipe-tools/pull/48
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
|
url = "https://github.com/otfried/ipe-tools/commit/14335180432152ad094300d0afd00d8e390469b2.patch";
|
||||||
sha256 = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
|
hash = "sha256-V3FmwG3bR6io/smxjasFJ5K0/u8RSFfdUX41ClGXhFc=";
|
||||||
stripLen = 1;
|
stripLen = 1;
|
||||||
name = "poppler_fix_build.patch";
|
name = "poppler_fix_build_48.patch";
|
||||||
|
})
|
||||||
|
# https://github.com/otfried/ipe-tools/pull/55
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/otfried/ipe-tools/commit/65586fcd9cc39e482ae5a9abdb6f4932d9bb88c4.patch";
|
||||||
|
hash = "sha256-qr1AQyWHz1e2a65m05xSHFnP6oSP6qSmMVekNk2flRc=";
|
||||||
|
stripLen = 1;
|
||||||
|
name = "poppler_fix_build_55.patch";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -40,6 +47,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A program that tries to convert arbitrary PDF documents to Ipe files";
|
description = "A program that tries to convert arbitrary PDF documents to Ipe files";
|
||||||
homepage = "https://github.com/otfried/ipe-tools";
|
homepage = "https://github.com/otfried/ipe-tools";
|
||||||
|
changelog = "https://github.com/otfried/ipe-tools/releases";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ yrd ];
|
maintainers = with maintainers; [ yrd ];
|
||||||
};
|
};
|
||||||
|
32
pkgs/tools/misc/ical2orgpy/default.nix
Normal file
32
pkgs/tools/misc/ical2orgpy/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib, python3Packages, fetchPypi, ... }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonPackage rec {
|
||||||
|
pname = "ical2orgpy";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-7/kWW1oTSJXPJtN02uIDrFdNJ9ExKRUa3tUNA0oJSoc=";
|
||||||
|
};
|
||||||
|
|
||||||
|
disabled = python3Packages.pythonOlder "3.9";
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
click
|
||||||
|
future
|
||||||
|
icalendar
|
||||||
|
pytz
|
||||||
|
tzlocal
|
||||||
|
recurring-ical-events
|
||||||
|
];
|
||||||
|
checkInputs = with python3Packages; [ freezegun pytest pyyaml ];
|
||||||
|
nativeBuildInputs = [ python3Packages.pbr ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Converting ICAL file into org-mode format.";
|
||||||
|
homepage = "https://github.com/ical2org-py/ical2org.py";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ StillerHarpo ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4,7 +4,7 @@ nimPackages.buildNimPackage rec {
|
|||||||
version = "0.1.6";
|
version = "0.1.6";
|
||||||
nimBinOnly = true;
|
nimBinOnly = true;
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "unxsh";
|
owner = "ssleert";
|
||||||
repo = "nitch";
|
repo = "nitch";
|
||||||
rev = "42ad6899931dd5e0cec7b021c2b7e383fcc891f3";
|
rev = "42ad6899931dd5e0cec7b021c2b7e383fcc891f3";
|
||||||
hash = "sha256-QI7CbP0lvvjD+g29FR/YJjuZboZ+PoHynsNbpYC9SvE=";
|
hash = "sha256-QI7CbP0lvvjD+g29FR/YJjuZboZ+PoHynsNbpYC9SvE=";
|
||||||
@ -15,6 +15,10 @@ nimPackages.buildNimPackage rec {
|
|||||||
url = "https://github.com/unxsh/nitch/commit/6831cf96144f58c4da298a0bc9b50d33056f6c08.patch";
|
url = "https://github.com/unxsh/nitch/commit/6831cf96144f58c4da298a0bc9b50d33056f6c08.patch";
|
||||||
sha256 = "sha256-uZUzUBLHBsssNqDxZ0NuTRMN9/gBxIlIiGgQkqCqEFc=";
|
sha256 = "sha256-uZUzUBLHBsssNqDxZ0NuTRMN9/gBxIlIiGgQkqCqEFc=";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/ssleert/nitch/commit/ff10dea47dbc4d9736bd839b87869f53166cf395.patch";
|
||||||
|
hash = "sha256-n7JtI1Td0xMqhuScnMvxTkbY2I+l+FcUTz7aytxFasE=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -23,6 +27,5 @@ nimPackages.buildNimPackage rec {
|
|||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ michaelBelsanti ];
|
maintainers = with maintainers; [ michaelBelsanti ];
|
||||||
mainProgram = "nitch";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,17 +5,17 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "opentelemetry-collector";
|
pname = "opentelemetry-collector";
|
||||||
version = "0.78.2";
|
version = "0.79.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "open-telemetry";
|
owner = "open-telemetry";
|
||||||
repo = "opentelemetry-collector";
|
repo = "opentelemetry-collector";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-zYKm5P+o59F1g5kCMirCEW0X5FrOwMdIRw64CMbUsAg=";
|
hash = "sha256-OTddX0hTrcxvU1XI5DSXOYPhVrn3dJ9Ryvr/wf1AHQ0=";
|
||||||
};
|
};
|
||||||
# there is a nested go.mod
|
# there is a nested go.mod
|
||||||
sourceRoot = "source/cmd/otelcorecol";
|
sourceRoot = "source/cmd/otelcorecol";
|
||||||
vendorHash = "sha256-7rnj3hIdp12CMva0zxWzkTi+a4N1uBIbG6BBaKjzH+4=";
|
vendorHash = "sha256-Efsgogk3C7oroniRPrl5GwTogBk7lT0XPkbz0ygJh48=";
|
||||||
|
|
||||||
# upstream strongly recommends disabling CGO
|
# upstream strongly recommends disabling CGO
|
||||||
# additionally dependencies have had issues when GCO was enabled that weren't caught upstream
|
# additionally dependencies have had issues when GCO was enabled that weren't caught upstream
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "phrase-cli";
|
pname = "phrase-cli";
|
||||||
version = "2.8.0";
|
version = "2.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "phrase";
|
owner = "phrase";
|
||||||
repo = "phrase-cli";
|
repo = "phrase-cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-Gima27E77iJEgOVY49Y2s9kQkd+rnzS359ru5NAyGik=";
|
sha256 = "sha256-jsN7JouIyrFd//+kDAcEEsXiGLZx8e5jQsiNVQuDiQg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-a0QA/1vUryAnO0Nr+m8frxtpnSHBOSOP1pq+BORTIJw=";
|
vendorHash = "sha256-a0QA/1vUryAnO0Nr+m8frxtpnSHBOSOP1pq+BORTIJw=";
|
||||||
|
85
pkgs/tools/networking/mailctl/default.nix
Normal file
85
pkgs/tools/networking/mailctl/default.nix
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
{ mkDerivation
|
||||||
|
, fetchFromSourcehut
|
||||||
|
, aeson
|
||||||
|
, base
|
||||||
|
, bytestring
|
||||||
|
, containers
|
||||||
|
, directory
|
||||||
|
, hsyslog
|
||||||
|
, http-conduit
|
||||||
|
, lib
|
||||||
|
, network-uri
|
||||||
|
, optparse-applicative
|
||||||
|
, pretty-simple
|
||||||
|
, process
|
||||||
|
, template-haskell
|
||||||
|
, text
|
||||||
|
, time
|
||||||
|
, twain
|
||||||
|
, utf8-string
|
||||||
|
, warp
|
||||||
|
, yaml
|
||||||
|
}:
|
||||||
|
mkDerivation rec {
|
||||||
|
pname = "mailctl";
|
||||||
|
version = "0.8.8";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~petrus";
|
||||||
|
repo = "mailctl";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-aFt6y2DzreROLcOLU8ynnSSVQW840T5wFqSRdSODQX4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
isLibrary = true;
|
||||||
|
isExecutable = true;
|
||||||
|
|
||||||
|
libraryHaskellDepends = [
|
||||||
|
aeson
|
||||||
|
base
|
||||||
|
bytestring
|
||||||
|
containers
|
||||||
|
directory
|
||||||
|
hsyslog
|
||||||
|
http-conduit
|
||||||
|
network-uri
|
||||||
|
optparse-applicative
|
||||||
|
pretty-simple
|
||||||
|
process
|
||||||
|
template-haskell
|
||||||
|
text
|
||||||
|
time
|
||||||
|
twain
|
||||||
|
utf8-string
|
||||||
|
warp
|
||||||
|
yaml
|
||||||
|
];
|
||||||
|
|
||||||
|
executableHaskellDepends = [
|
||||||
|
aeson
|
||||||
|
base
|
||||||
|
bytestring
|
||||||
|
containers
|
||||||
|
directory
|
||||||
|
hsyslog
|
||||||
|
http-conduit
|
||||||
|
network-uri
|
||||||
|
optparse-applicative
|
||||||
|
pretty-simple
|
||||||
|
process
|
||||||
|
template-haskell
|
||||||
|
text
|
||||||
|
time
|
||||||
|
twain
|
||||||
|
utf8-string
|
||||||
|
warp
|
||||||
|
yaml
|
||||||
|
];
|
||||||
|
|
||||||
|
description = "OAuth2 tool for mail clients";
|
||||||
|
homepage = "https://sr.ht/~petrus/mailctl/";
|
||||||
|
changelog = "https://git.sr.ht/~petrus/mailctl/refs/${version}";
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = with lib.maintainers; [ aidalgol ];
|
||||||
|
mainProgram = "mailctl";
|
||||||
|
}
|
@ -5,6 +5,8 @@
|
|||||||
, gnupg
|
, gnupg
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, autoPatchelfHook
|
, autoPatchelfHook
|
||||||
|
, testers
|
||||||
|
, browserpass
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -18,7 +20,7 @@ buildGoModule rec {
|
|||||||
sha256 = "sha256-UZzOPRRiCUIG7uSSp9AEPMDN/+4cgyK47RhrI8oUx8U=";
|
sha256 = "sha256-UZzOPRRiCUIG7uSSp9AEPMDN/+4cgyK47RhrI8oUx8U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper autoPatchelfHook ];
|
nativeBuildInputs = [ makeWrapper ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
|
||||||
|
|
||||||
vendorHash = "sha256-CjuH4ANP2bJDeA+o+1j+obbtk5/NVLet/OFS3Rms4r0=";
|
vendorHash = "sha256-CjuH4ANP2bJDeA+o+1j+obbtk5/NVLet/OFS3Rms4r0=";
|
||||||
|
|
||||||
@ -56,6 +58,11 @@ buildGoModule rec {
|
|||||||
ln -s $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts
|
ln -s $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = browserpass;
|
||||||
|
command = "browserpass --version";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Browserpass native client app";
|
description = "Browserpass native client app";
|
||||||
homepage = "https://github.com/browserpass/browserpass-native";
|
homepage = "https://github.com/browserpass/browserpass-native";
|
||||||
|
25
pkgs/tools/security/frida-tools/default.nix
Normal file
25
pkgs/tools/security/frida-tools/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ lib, fetchPypi, python3Packages }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "frida-tools";
|
||||||
|
version = "12.1.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-9SlDyp1fLOzLqu6sxVqY2jwEzQjrnbzfQXIRoyviPJY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
pygments
|
||||||
|
prompt-toolkit
|
||||||
|
colorama
|
||||||
|
frida-python
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers (client tools)";
|
||||||
|
homepage = "https://www.frida.re/";
|
||||||
|
maintainers = with lib.maintainers; [ s1341 ];
|
||||||
|
license = lib.licenses.wxWindows;
|
||||||
|
};
|
||||||
|
}
|
31
pkgs/tools/security/goblob/default.nix
Normal file
31
pkgs/tools/security/goblob/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "goblob";
|
||||||
|
version = "1.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Macmod";
|
||||||
|
repo = "goblob";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-FnSlfLi40VwDyQY77PvhV7EbhUDs1uGx0VsgP8HgKTw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = null;
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Enumeration tool for publicly exposed Azure Storage blobs";
|
||||||
|
homepage = "https://github.com/Macmod/goblob";
|
||||||
|
changelog = "https://github.com/Macmod/goblob/releases/tag/v${version}";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user