mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 14:20:19 +00:00
Merge master into haskell-updates
This commit is contained in:
@@ -62,6 +62,8 @@ Sample template for a package update review is provided below.
|
||||
- [ ] package build on ARCHITECTURE
|
||||
- [ ] executables tested on ARCHITECTURE
|
||||
- [ ] all depending packages build
|
||||
- [ ] patches have a comment describing either the upstream URL or a reason why the patch wasn't upstreamed
|
||||
- [ ] patches that are remotely available are fetched rather than vendored
|
||||
|
||||
##### Possible improvements
|
||||
|
||||
@@ -105,7 +107,8 @@ Sample template for a new package review is provided below.
|
||||
- [ ] source is fetched using the appropriate function
|
||||
- [ ] the list of `phases` is not overridden
|
||||
- [ ] when a phase (like `installPhase`) is overridden it starts with `runHook preInstall` and ends with `runHook postInstall`.
|
||||
- [ ] patches that are remotely available are fetched with `fetchpatch`
|
||||
- [ ] patches have a comment describing either the upstream URL or a reason why the patch wasn't upstreamed
|
||||
- [ ] patches that are remotely available are fetched rather than vendored
|
||||
|
||||
##### Possible improvements
|
||||
|
||||
|
||||
@@ -1231,6 +1231,12 @@
|
||||
githubId = 914687;
|
||||
name = "Alexis Praga";
|
||||
};
|
||||
aprl = {
|
||||
email = "aprl@acab.dev";
|
||||
github = "cutestnekoaqua";
|
||||
githubId = 30842467;
|
||||
name = "April John";
|
||||
};
|
||||
ar1a = {
|
||||
email = "aria@ar1as.space";
|
||||
github = "ar1a";
|
||||
@@ -5190,6 +5196,12 @@
|
||||
fingerprint = "FC1D 3E4F CBCA 80DF E870 6397 C811 6E3A 0C1C A76A";
|
||||
}];
|
||||
};
|
||||
exploitoverload = {
|
||||
email = "nix@exploitoverload.com";
|
||||
github = "exploitoverload";
|
||||
githubId = 99678549;
|
||||
name = "Asier Armenteros";
|
||||
};
|
||||
extends = {
|
||||
email = "sharosari@gmail.com";
|
||||
github = "ImExtends";
|
||||
@@ -10047,6 +10059,11 @@
|
||||
githubId = 2914269;
|
||||
name = "Malo Bourgon";
|
||||
};
|
||||
malt3 = {
|
||||
github = "malt3";
|
||||
githubId = 1780588;
|
||||
name = "Malte Poll";
|
||||
};
|
||||
malte-v = {
|
||||
email = "nixpkgs@mal.tc";
|
||||
github = "malte-v";
|
||||
@@ -14858,6 +14875,16 @@
|
||||
githubId = 4805746;
|
||||
name = "Sebastian Jordan";
|
||||
};
|
||||
septem9er = {
|
||||
name = "Septem9er";
|
||||
email = "develop@septem9er.de";
|
||||
matrix = "@septem9er:fairydust.space";
|
||||
github = "septem9er";
|
||||
githubId = 33379902;
|
||||
keys = [{
|
||||
fingerprint = "C408 07F9 8677 3D98 EFF3 0980 355A 9AFB FD8E AD33";
|
||||
}];
|
||||
};
|
||||
seqizz = {
|
||||
email = "seqizz@gmail.com";
|
||||
github = "seqizz";
|
||||
|
||||
@@ -6,6 +6,7 @@ use warnings;
|
||||
|
||||
use CPAN::Meta();
|
||||
use CPANPLUS::Backend();
|
||||
use MIME::Base64;
|
||||
use Module::CoreList;
|
||||
use Getopt::Long::Descriptive qw( describe_options );
|
||||
use JSON::PP qw( encode_json );
|
||||
@@ -354,6 +355,11 @@ sub render_license {
|
||||
return $license_line;
|
||||
}
|
||||
|
||||
sub sha256_to_sri {
|
||||
my ($sha256) = @_;
|
||||
return "sha256-" . encode_base64(pack("H*", $sha256), '');
|
||||
}
|
||||
|
||||
my ( $opt, $module_name ) = handle_opts();
|
||||
|
||||
Log::Log4perl->easy_init(
|
||||
@@ -380,8 +386,9 @@ INFO( "package: ", $module->package, " (", "$pkg_name-$pkg_version", ", ", $attr
|
||||
INFO( "path: ", $module->path );
|
||||
|
||||
my $tar_path = $module->fetch();
|
||||
my $sri_hash = sha256_to_sri($module->status->checksum_value);
|
||||
INFO( "downloaded to: ", $tar_path );
|
||||
INFO( "sha-256: ", $module->status->checksum_value );
|
||||
INFO( "hash: ", $sri_hash );
|
||||
|
||||
my $pkg_path = $module->extract();
|
||||
INFO( "unpacked to: ", $pkg_path );
|
||||
@@ -436,7 +443,7 @@ print <<EOF;
|
||||
version = "$pkg_version";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/${\$module->path}/${\$module->package}";
|
||||
sha256 = "${\$module->status->checksum_value}";
|
||||
hash = "$sri_hash";
|
||||
};
|
||||
EOF
|
||||
print <<EOF if scalar @build_deps > 0;
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
|
||||
- [Apache Guacamole](https://guacamole.apache.org/), a cross-platform, clientless remote desktop gateway. Available as [services.guacamole-server](#opt-services.guacamole-server.enable) and [services.guacamole-client](#opt-services.guacamole-client.enable) services.
|
||||
|
||||
- [trust-dns](https://trust-dns.org/), a Rust based DNS server built to be safe and secure from the ground up. Available as [services.trust-dns](#opt-services.trust-dns.enable).
|
||||
|
||||
## Backward Incompatibilities {#sec-release-23.11-incompatibilities}
|
||||
|
||||
- The `boot.loader.raspberryPi` options have been marked deprecated, with intent for removal for NixOS 24.11. They had a limited use-case, and do not work like people expect. They required either very old installs ([before mid-2019](https://github.com/NixOS/nixpkgs/pull/62462)) or customized builds out of scope of the standard and generic AArch64 support. That option set never supported the Raspberry Pi 4 family of devices.
|
||||
|
||||
@@ -1059,6 +1059,7 @@
|
||||
./services/networking/tox-node.nix
|
||||
./services/networking/toxvpn.nix
|
||||
./services/networking/trickster.nix
|
||||
./services/networking/trust-dns.nix
|
||||
./services/networking/tvheadend.nix
|
||||
./services/networking/twingate.nix
|
||||
./services/networking/ucarp.nix
|
||||
|
||||
177
nixos/modules/services/networking/trust-dns.nix
Normal file
177
nixos/modules/services/networking/trust-dns.nix
Normal file
@@ -0,0 +1,177 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.trust-dns;
|
||||
toml = pkgs.formats.toml { };
|
||||
|
||||
configFile = toml.generate "trust-dns.toml" (
|
||||
lib.filterAttrsRecursive (_: v: v != null) cfg.settings
|
||||
);
|
||||
|
||||
zoneType = lib.types.submodule ({ config, ... }: {
|
||||
options = with lib; {
|
||||
zone = mkOption {
|
||||
type = types.str;
|
||||
description = mdDoc ''
|
||||
Zone name, like "example.com", "localhost", or "0.0.127.in-addr.arpa".
|
||||
'';
|
||||
};
|
||||
zone_type = mkOption {
|
||||
type = types.enum [ "Primary" "Secondary" "Hint" "Forward" ];
|
||||
default = "Primary";
|
||||
description = mdDoc ''
|
||||
One of:
|
||||
- "Primary" (the master, authority for the zone).
|
||||
- "Secondary" (the slave, replicated from the primary).
|
||||
- "Hint" (a cached zone with recursive resolver abilities).
|
||||
- "Forward" (a cached zone where all requests are forwarded to another resolver).
|
||||
|
||||
For more details about these zone types, consult the documentation for BIND,
|
||||
though note that trust-dns supports only a subset of BIND's zone types:
|
||||
<https://bind9.readthedocs.io/en/v9_18_4/reference.html#type>
|
||||
'';
|
||||
};
|
||||
file = mkOption {
|
||||
type = types.either types.path types.str;
|
||||
default = "${config.zone}.zone";
|
||||
defaultText = literalExpression ''"''${config.zone}.zone"'';
|
||||
description = mdDoc ''
|
||||
Path to the .zone file.
|
||||
If not fully-qualified, this path will be interpreted relative to the `directory` option.
|
||||
If omitted, defaults to the value of the `zone` option suffixed with ".zone".
|
||||
'';
|
||||
};
|
||||
};
|
||||
});
|
||||
in
|
||||
{
|
||||
meta.maintainers = with lib.maintainers; [ colinsane ];
|
||||
options = {
|
||||
services.trust-dns = with lib; {
|
||||
enable = mkEnableOption (lib.mdDoc "trust-dns");
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.trust-dns;
|
||||
defaultText = "pkgs.trust-dns";
|
||||
description = mdDoc ''
|
||||
Trust-dns package to use.
|
||||
Only `bin/named` need be provided: the other trust-dns utilities (client and resolver) are not needed.
|
||||
'';
|
||||
};
|
||||
quiet = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = mdDoc ''
|
||||
Log ERROR level messages only.
|
||||
This option is mutually exclusive with the `debug` option.
|
||||
If neither `quiet` nor `debug` are enabled, logging defaults to the INFO level.
|
||||
'';
|
||||
};
|
||||
debug = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = mdDoc ''
|
||||
Log DEBUG, INFO, WARN and ERROR messages.
|
||||
This option is mutually exclusive with the `debug` option.
|
||||
If neither `quiet` nor `debug` are enabled, logging defaults to the INFO level.
|
||||
'';
|
||||
};
|
||||
settings = mkOption {
|
||||
description = lib.mdDoc ''
|
||||
Settings for trust-dns. The options enumerated here are not exhaustive.
|
||||
Refer to upstream documentation for all available options:
|
||||
- [Example settings](https://github.com/bluejekyll/trust-dns/blob/main/tests/test-data/test_configs/example.toml)
|
||||
'';
|
||||
type = types.submodule {
|
||||
freeformType = toml.type;
|
||||
options = {
|
||||
listen_addrs_ipv4 = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ "0.0.0.0" ];
|
||||
description = mdDoc ''
|
||||
List of ipv4 addresses on which to listen for DNS queries.
|
||||
'';
|
||||
};
|
||||
listen_addrs_ipv6 = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = lib.optional config.networking.enableIPv6 "::0";
|
||||
defaultText = literalExpression ''lib.optional config.networking.enableIPv6 "::0"'';
|
||||
description = mdDoc ''
|
||||
List of ipv6 addresses on which to listen for DNS queries.
|
||||
'';
|
||||
};
|
||||
listen_port = mkOption {
|
||||
type = types.port;
|
||||
default = 53;
|
||||
description = mdDoc ''
|
||||
Port to listen on (applies to all listen addresses).
|
||||
'';
|
||||
};
|
||||
directory = mkOption {
|
||||
type = types.str;
|
||||
default = "/var/lib/trust-dns";
|
||||
description = mdDoc ''
|
||||
The directory in which trust-dns should look for .zone files,
|
||||
whenever zones aren't specified by absolute path.
|
||||
'';
|
||||
};
|
||||
zones = mkOption {
|
||||
description = mdDoc "List of zones to serve.";
|
||||
default = {};
|
||||
type = types.listOf (types.coercedTo types.str (zone: { inherit zone; }) zoneType);
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.services.trust-dns = {
|
||||
description = "trust-dns Domain Name Server";
|
||||
unitConfig.Documentation = "https://trust-dns.org/";
|
||||
serviceConfig = {
|
||||
ExecStart =
|
||||
let
|
||||
flags = (lib.optional cfg.debug "--debug") ++ (lib.optional cfg.quiet "--quiet");
|
||||
flagsStr = builtins.concatStringsSep " " flags;
|
||||
in ''
|
||||
${cfg.package}/bin/named --config ${configFile} ${flagsStr}
|
||||
'';
|
||||
Type = "simple";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
DynamicUser = true;
|
||||
|
||||
StateDirectory = "trust-dns";
|
||||
ReadWritePaths = [ cfg.settings.directory ];
|
||||
|
||||
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
||||
CapabilityBoundingSet = [ "CAP_NET_BIND_SERVICE" ];
|
||||
LockPersonality = true;
|
||||
MemoryDenyWriteExecute = true;
|
||||
NoNewPrivileges = true;
|
||||
PrivateDevices = true;
|
||||
PrivateMounts = true;
|
||||
PrivateTmp = true;
|
||||
ProtectClock = true;
|
||||
ProtectControlGroups = true;
|
||||
ProtectHome = true;
|
||||
ProtectHostname = true;
|
||||
ProtectKernelLogs = true;
|
||||
ProtectKernelModules = true;
|
||||
ProtectKernelTunables = true;
|
||||
ProtectProc = "invisible";
|
||||
ProtectSystem = "full";
|
||||
RemoveIPC = true;
|
||||
RestrictAddressFamilies = [ "AF_INET AF_INET6" ];
|
||||
RestrictNamespaces = true;
|
||||
RestrictSUIDSGID = true;
|
||||
SystemCallArchitectures = "native";
|
||||
SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ];
|
||||
};
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -72,6 +72,9 @@ let tests = {
|
||||
qterminal.pkg = p: p.lxqt.qterminal;
|
||||
qterminal.kill = true;
|
||||
|
||||
rio.pkg = p: p.rio;
|
||||
rio.cmd = "rio -e $command";
|
||||
|
||||
roxterm.pkg = p: p.roxterm;
|
||||
roxterm.cmd = "roxterm -e $command";
|
||||
|
||||
|
||||
@@ -19,34 +19,37 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
jdk
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
jdk
|
||||
];
|
||||
|
||||
runtimeInputs = [
|
||||
survex
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
javac -d . src/*.java
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/java
|
||||
cp -r symbols Tunnel tutorials $out/java
|
||||
# `SURVEX_EXECUTABLE_DIR` must include trailing slash
|
||||
makeWrapper ${jre}/bin/java $out/bin/tunnelx \
|
||||
--add-flags "-cp $out/java Tunnel.MainBox" \
|
||||
--set SURVEX_EXECUTABLE_DIR ${survex}/bin/ \
|
||||
--set SURVEX_EXECUTABLE_DIR ${lib.getBin survex}/bin/ \
|
||||
--set TUNNEL_USER_DIR $out/java/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "A program for drawing cave surveys in 2D";
|
||||
homepage = "https://github.com/CaveSurveying/tunnelx/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ goatchurchprime ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ goatchurchprime ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "f3d";
|
||||
version = "2.0.0";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "f3d-app";
|
||||
repo = "f3d";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-od8Wu8+HyQb8qTA6C4kiw5hNI2WPBs/EMt321BJDZoc=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2LDHIeKgLUS2ujJUx2ZerXmZYB9rrT3PYvrtzV4vcHM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "Fast and minimalist 3D viewer using VTK";
|
||||
homepage = "https://f3d-app.github.io/f3d";
|
||||
changelog = "https://github.com/f3d-app/f3d/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
platforms = with platforms; unix;
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
let
|
||||
pname = "anytype";
|
||||
version = "0.32.3";
|
||||
version = "0.33.0";
|
||||
name = "Anytype-${version}";
|
||||
nameExecutable = pname;
|
||||
src = fetchurl {
|
||||
url = "https://anytype-release.fra1.cdn.digitaloceanspaces.com/Anytype-${version}.AppImage";
|
||||
name = "Anytype-${version}.AppImage";
|
||||
sha256 = "sha256-usRGwQuYNETQu+a23UeW384tOFXLfsjO6Tc+57utCvk=";
|
||||
sha256 = "sha256-lkocuPlUYGFWWEMaz7Q/SWMFIGa2w+jNQ0u5EzcSz7M=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit name src; };
|
||||
in
|
||||
|
||||
51
pkgs/applications/misc/ipatool/default.nix
Normal file
51
pkgs/applications/misc/ipatool/default.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, testers
|
||||
, ipatool
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ipatool";
|
||||
version = "2.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "majd";
|
||||
repo = "ipatool";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kIFKVIhH+Vjt05XzR5jNwYQokNLSckdiWJ97A03Lgqc=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZTz3eW/rs3bV16Ugd4kUOW7NaXzBa5c9qTIqRCanPRU=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/majd/ipatool/v2/cmd.version=${version}"
|
||||
];
|
||||
|
||||
# go generate ./... fails because of a missing module: github.com/golang/mock/mockgen
|
||||
# which is required to run the tests, check if next release fixes it.
|
||||
# preCheck = ''
|
||||
# go generate ./...
|
||||
# '';
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
inherit version;
|
||||
package = ipatool;
|
||||
command = "ipatool --version";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store";
|
||||
homepage = "https://github.com/majd/ipatool";
|
||||
changelog = "https://github.com/majd/ipatool/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gaelreyrol ];
|
||||
};
|
||||
}
|
||||
@@ -45,14 +45,16 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
ffmpeg
|
||||
glib
|
||||
libGLU
|
||||
mesa
|
||||
proj
|
||||
wxGTK32
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
Carbon
|
||||
Cocoa
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
# TODO: libGLU doesn't build for macOS because of Mesa issues
|
||||
# (#233265); is it required for anything?
|
||||
libGLU
|
||||
mesa
|
||||
libICE
|
||||
libX11
|
||||
];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chromium-codecs-ffmpeg-extra";
|
||||
version = "104.0.5112.101";
|
||||
version = "112.0.5615.49";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpadlibrarian.net/618703258/${pname}_${version}-0ubuntu0.18.04.1_amd64.deb";
|
||||
sha256 = "sha256-V+zqLhI8L/8ssxSR6S2v4gUAtoK3fB8Fi9bajBFEauU=";
|
||||
url = "https://launchpadlibrarian.net/660647727/${pname}_${version}-0ubuntu0.18.04.1_amd64.deb";
|
||||
sha256 = "sha256-mHjvjRG+toRcsOMca+JPXNZPgyQROH2qtSpBPHLmt3s=";
|
||||
};
|
||||
|
||||
buildInputs = [ dpkg ];
|
||||
|
||||
@@ -43,5 +43,5 @@ if [[ "$chromium_version" != "$chromium_version_old" ]]; then
|
||||
(cd "$root" && update-source-version vivaldi-ffmpeg-codecs "$chromium_version")
|
||||
|
||||
git add "${ffmpeg_nix}"
|
||||
git commit -m "vivaldi-ffmepg-codecs: $chromium_version_old -> $chromium_version"
|
||||
git commit -m "vivaldi-ffmpeg-codecs: $chromium_version_old -> $chromium_version"
|
||||
fi
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pachyderm";
|
||||
version = "2.6.5";
|
||||
version = "2.6.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pachyderm";
|
||||
repo = "pachyderm";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ZwfJ21Ib9R1YV4TSi0CArii2418uG9hNhGRDyapP/Tg=";
|
||||
hash = "sha256-EvoxA8Mavr3pQ3GZg6+/cPQJqh+Xe+Rj906aO2frdgU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-3EG9d4ERaWuHaKFt0KFCOKIgTdrL7HZTO+GSi2RROKY=";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pluto";
|
||||
version = "5.17.0";
|
||||
version = "5.18.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FairwindsOps";
|
||||
repo = "pluto";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-oJ9GWzgukwBEo0kMUSS+rxYPgjFwtchiAYOCy1SwWic=";
|
||||
sha256 = "sha256-E4DPJDBa/WX5JVsWgqdEv/O/XCvHDLyaL+nSMmw6Npg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-okqDtxSKVLlmnm5JdCKSvRZkXTsghi/L5R9TX10WWjY=";
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "alfaview";
|
||||
version = "8.71.0";
|
||||
version = "8.72.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://assets.alfaview.com/stable/linux/deb/${pname}_${version}.deb";
|
||||
sha256 = "sha256-xq/Qs31kUEgCpGWE3M9yg1JeayXzlSpRVn3fdNl68Zc=";
|
||||
sha256 = "sha256-8oc3Wy/jI/GKbTnv7IV6q159WmMZSGedMh5EXvf7ZR0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }:
|
||||
let
|
||||
versions = if stdenv.isLinux then {
|
||||
stable = "0.0.27";
|
||||
stable = "0.0.28";
|
||||
ptb = "0.0.44";
|
||||
canary = "0.0.162";
|
||||
development = "0.0.217";
|
||||
@@ -16,7 +16,7 @@ let
|
||||
x86_64-linux = {
|
||||
stable = fetchurl {
|
||||
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
|
||||
sha256 = "sha256-6fHaiPBcv7TQVh+TatIEYXZ/LwPmnCmU/QWXKFgUR7U=";
|
||||
sha256 = "sha256-JwxVVm/QIBLoVyQ2Ff/MX06UNgZ+dAsD960GsCg1M+U=";
|
||||
};
|
||||
ptb = fetchurl {
|
||||
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
|
||||
|
||||
@@ -1,99 +1,149 @@
|
||||
{ callPackage, stdenv, fetchurl, makeWrapper, pkg-config, gtk2, gtk2-x11, gtkspell2, aspell
|
||||
, gst_all_1, libstartup_notification, gettext, perlPackages, libxml2, nss
|
||||
, nspr, farstream, libXScrnSaver, avahi, dbus, dbus-glib, intltool, libidn
|
||||
, lib, python3, libICE, libXext, libSM, libgnt, ncurses, cyrus_sasl, openssl
|
||||
, gnutls, libgcrypt, cacert, plugins, withOpenssl, withGnutls, withCyrus_sasl ? true
|
||||
{ stdenv
|
||||
, callPackage
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, aspell
|
||||
, avahi
|
||||
, cacert
|
||||
, dbus
|
||||
, dbus-glib
|
||||
, farstream
|
||||
, gettext
|
||||
, gst_all_1
|
||||
, gtk2
|
||||
, gtk2-x11
|
||||
, gtkspell2
|
||||
, intltool
|
||||
, lib
|
||||
, libICE
|
||||
, libSM
|
||||
, libXScrnSaver
|
||||
, libXext
|
||||
, libgcrypt
|
||||
, libgnt
|
||||
, libidn
|
||||
, libstartup_notification
|
||||
, libxml2
|
||||
, ncurses
|
||||
, nspr
|
||||
, nss
|
||||
, perlPackages
|
||||
, pkg-config
|
||||
, python3
|
||||
, pidgin
|
||||
, plugins ? []
|
||||
, withOpenssl ? false, openssl
|
||||
, withGnutls ? false , gnutls
|
||||
, withCyrus_sasl ? true, cyrus_sasl
|
||||
, pidginPackages
|
||||
}:
|
||||
|
||||
# FIXME: clean the mess around choosing the SSL library (nss by default)
|
||||
|
||||
let unwrapped = stdenv.mkDerivation rec {
|
||||
pname = "pidgin";
|
||||
version = "2.14.12";
|
||||
let
|
||||
unwrapped = stdenv.mkDerivation rec {
|
||||
pname = "pidgin";
|
||||
version = "2.14.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pidgin/pidgin-${version}.tar.bz2";
|
||||
sha256 = "sha256-KwUka+IIYF7buTrp7cB5WD1EniqXENttNI0X9ZAgpLc=";
|
||||
};
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/pidgin/pidgin-${version}.tar.bz2";
|
||||
sha256 = "sha256-KwUka+IIYF7buTrp7cB5WD1EniqXENttNI0X9ZAgpLc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper intltool ];
|
||||
nativeBuildInputs = [ makeWrapper intltool ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
||||
env.NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
|
||||
|
||||
buildInputs = let
|
||||
python-with-dbus = python3.withPackages (pp: with pp; [ dbus-python ]);
|
||||
in [
|
||||
aspell libstartup_notification
|
||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
||||
libxml2 nss nspr
|
||||
libXScrnSaver python-with-dbus
|
||||
avahi dbus dbus-glib libidn
|
||||
libICE libXext libSM cyrus_sasl
|
||||
libgnt ncurses # optional: build finch - the console UI
|
||||
]
|
||||
++ lib.optional withOpenssl openssl
|
||||
++ lib.optionals withGnutls [ gnutls libgcrypt ]
|
||||
++ lib.optionals stdenv.isLinux [ gtk2 gtkspell2 farstream ]
|
||||
++ lib.optional stdenv.isDarwin gtk2-x11;
|
||||
|
||||
|
||||
propagatedBuildInputs = [ pkg-config gettext ]
|
||||
++ (with perlPackages; [ perl XMLParser ])
|
||||
++ lib.optional stdenv.isLinux gtk2
|
||||
buildInputs = let
|
||||
python-with-dbus = python3.withPackages (pp: with pp; [ dbus-python ]);
|
||||
in [
|
||||
aspell
|
||||
avahi
|
||||
cyrus_sasl
|
||||
dbus
|
||||
dbus-glib
|
||||
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
|
||||
gst_all_1.gstreamer
|
||||
libICE
|
||||
libSM
|
||||
libXScrnSaver
|
||||
libXext
|
||||
libgnt
|
||||
libidn
|
||||
libstartup_notification
|
||||
libxml2
|
||||
ncurses # optional: build finch - the console UI
|
||||
nspr
|
||||
nss
|
||||
python-with-dbus
|
||||
]
|
||||
++ lib.optional withOpenssl openssl
|
||||
++ lib.optionals withGnutls [ gnutls libgcrypt ]
|
||||
++ lib.optionals stdenv.isLinux [ gtk2 gtkspell2 farstream ]
|
||||
++ lib.optional stdenv.isDarwin gtk2-x11;
|
||||
|
||||
patches = [ ./pidgin-makefile.patch ./add-search-path.patch ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-nspr-includes=${nspr.dev}/include/nspr"
|
||||
"--with-nspr-libs=${nspr.out}/lib"
|
||||
"--with-nss-includes=${nss.dev}/include/nss"
|
||||
"--with-nss-libs=${nss.out}/lib"
|
||||
"--with-ncurses-headers=${ncurses.dev}/include"
|
||||
"--with-system-ssl-certs=${cacert}/etc/ssl/certs"
|
||||
"--disable-meanwhile"
|
||||
"--disable-nm"
|
||||
"--disable-tcl"
|
||||
"--disable-gevolution"
|
||||
]
|
||||
++ lib.optionals withCyrus_sasl [ "--enable-cyrus-sasl=yes" ]
|
||||
++ lib.optionals withGnutls ["--enable-gnutls=yes" "--enable-nss=no"]
|
||||
++ lib.optionals stdenv.isDarwin ["--disable-gtkspell" "--disable-vv"];
|
||||
propagatedBuildInputs = [ pkg-config gettext ]
|
||||
++ (with perlPackages; [ perl XMLParser ])
|
||||
++ lib.optional stdenv.isLinux gtk2
|
||||
++ lib.optional stdenv.isDarwin gtk2-x11;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
patches = [
|
||||
./add-search-path.patch
|
||||
./pidgin-makefile.patch
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pidgin \
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||
'';
|
||||
configureFlags = [
|
||||
"--with-nspr-includes=${nspr.dev}/include/nspr"
|
||||
"--with-nspr-libs=${nspr.out}/lib"
|
||||
"--with-nss-includes=${nss.dev}/include/nss"
|
||||
"--with-nss-libs=${nss.out}/lib"
|
||||
"--with-ncurses-headers=${ncurses.dev}/include"
|
||||
"--with-system-ssl-certs=${cacert}/etc/ssl/certs"
|
||||
"--disable-meanwhile"
|
||||
"--disable-nm"
|
||||
"--disable-tcl"
|
||||
"--disable-gevolution"
|
||||
]
|
||||
++ lib.optionals withCyrus_sasl [ "--enable-cyrus-sasl=yes" ]
|
||||
++ lib.optionals withGnutls [ "--enable-gnutls=yes" "--enable-nss=no" ]
|
||||
++ lib.optionals stdenv.isDarwin [ "--disable-gtkspell" "--disable-vv" ];
|
||||
|
||||
doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
# In particular, this detects missing python imports in some of the tools.
|
||||
postFixup = let
|
||||
# TODO: python is a script, so it doesn't work as interpreter on darwin
|
||||
binsToTest = lib.optionalString stdenv.isLinux "purple-remote," + "pidgin,finch";
|
||||
in lib.optionalString doInstallCheck ''
|
||||
for f in "''${!outputBin}"/bin/{${binsToTest}}; do
|
||||
echo "Testing: $f --help"
|
||||
"$f" --help
|
||||
done
|
||||
'';
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru = {
|
||||
makePluginPath = lib.makeSearchPathOutput "lib" "lib/purple-${lib.versions.major version}";
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/pidgin \
|
||||
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||
'';
|
||||
|
||||
doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
# In particular, this detects missing python imports in some of the tools.
|
||||
postFixup = let
|
||||
# TODO: python is a script, so it doesn't work as interpreter on darwin
|
||||
binsToTest = lib.optionalString stdenv.isLinux "purple-remote," + "pidgin,finch";
|
||||
in lib.optionalString doInstallCheck ''
|
||||
for f in "''${!outputBin}"/bin/{${binsToTest}}; do
|
||||
echo "Testing: $f --help"
|
||||
"$f" --help
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
makePluginPath = lib.makeSearchPathOutput "lib" "lib/purple-${lib.versions.major version}";
|
||||
withPlugins = pluginfn: callPackage ./wrapper.nix {
|
||||
plugins = pluginfn pidginPackages;
|
||||
pidgin = unwrapped;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Multi-protocol instant messaging client";
|
||||
homepage = "https://pidgin.im/";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.lucasew ];
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Multi-protocol instant messaging client";
|
||||
homepage = "https://pidgin.im/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ ];
|
||||
};
|
||||
};
|
||||
|
||||
in if plugins == [] then unwrapped
|
||||
else callPackage ./wrapper.nix {
|
||||
inherit plugins;
|
||||
pidgin = unwrapped;
|
||||
}
|
||||
else unwrapped.withPlugins (_: plugins)
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
{ lib
|
||||
, newScope
|
||||
, pidgin
|
||||
, texlive
|
||||
, config
|
||||
}:
|
||||
|
||||
lib.makeScope newScope (self:
|
||||
let callPackage = self.callPackage;
|
||||
in {
|
||||
pidgin = callPackage ../. {
|
||||
withOpenssl = config.pidgin.openssl or true;
|
||||
withGnutls = config.pidgin.gnutls or false;
|
||||
plugins = [];
|
||||
};
|
||||
|
||||
pidginPackages = self;
|
||||
|
||||
pidgin-indicator = callPackage ./pidgin-indicator { };
|
||||
|
||||
pidgin-latex = callPackage ./pidgin-latex {
|
||||
texLive = texlive.combined.scheme-basic;
|
||||
};
|
||||
|
||||
pidgin-msn-pecan = callPackage ./msn-pecan { };
|
||||
|
||||
pidgin-mra = callPackage ./pidgin-mra { };
|
||||
|
||||
pidgin-skypeweb = callPackage ./pidgin-skypeweb { };
|
||||
|
||||
pidgin-carbons = callPackage ./carbons { };
|
||||
|
||||
pidgin-xmpp-receipts = callPackage ./pidgin-xmpp-receipts { };
|
||||
|
||||
pidgin-otr = callPackage ./otr { };
|
||||
|
||||
pidgin-osd = callPackage ./pidgin-osd { };
|
||||
|
||||
pidgin-sipe = callPackage ./sipe { };
|
||||
|
||||
pidgin-window-merge = callPackage ./window-merge { };
|
||||
|
||||
purple-discord = callPackage ./purple-discord { };
|
||||
|
||||
purple-googlechat = callPackage ./purple-googlechat { };
|
||||
|
||||
purple-hangouts = callPackage ./purple-hangouts { };
|
||||
|
||||
purple-lurch = callPackage ./purple-lurch { };
|
||||
|
||||
purple-matrix = callPackage ./purple-matrix { };
|
||||
|
||||
purple-mm-sms = callPackage ./purple-mm-sms { };
|
||||
|
||||
purple-plugin-pack = callPackage ./purple-plugin-pack { };
|
||||
|
||||
purple-signald = callPackage ./purple-signald { };
|
||||
|
||||
purple-slack = callPackage ./purple-slack { };
|
||||
|
||||
purple-vk-plugin = callPackage ./purple-vk-plugin { };
|
||||
|
||||
purple-xmpp-http-upload = callPackage ./purple-xmpp-http-upload { };
|
||||
|
||||
tdlib-purple = callPackage ./tdlib-purple { };
|
||||
|
||||
pidgin-opensteamworks = callPackage ./pidgin-opensteamworks { };
|
||||
|
||||
purple-facebook = callPackage ./purple-facebook { };
|
||||
})
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "nicotine-plus";
|
||||
version = "3.2.8";
|
||||
version = "3.2.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nicotine-plus";
|
||||
repo = "nicotine-plus";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-/l31w7ohBgjeE+Ywuo7aaDZBzVNLFD3dqMRr/P3ge+s=";
|
||||
sha256 = "sha256-PxtHsBbrzcIAcLyQKD9DV8yqf3ljzGS7gT/ZRfJ8qL4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gettext wrapGAppsHook gobject-introspection ];
|
||||
|
||||
@@ -27,11 +27,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "PortfolioPerformance";
|
||||
version = "0.64.1";
|
||||
version = "0.64.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz";
|
||||
hash = "sha256-R3Cj24dZ2wD1c29zRLGnuJm3wfc9+n/sNNW316HT9N4=";
|
||||
hash = "sha256-RjwZVJxPVbSlC0huGsreMdKDFV97bshoGA302u4N0Vk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -46,13 +46,13 @@
|
||||
, pname ? "gnuradio"
|
||||
, versionAttr ? {
|
||||
major = "3.10";
|
||||
minor = "6";
|
||||
minor = "7";
|
||||
patch = "0";
|
||||
}
|
||||
}:
|
||||
|
||||
let
|
||||
sourceSha256 = "sha256-WLxb9vJBlRfo9bKWEIsCI0Zb040XkLNjYw84j6ivOrk=";
|
||||
sourceSha256 = "sha256-7fIQMcx90wI4mAZmR26/rkBKPKhNxgu3oWpJTV3C+Ek=";
|
||||
featuresInfo = {
|
||||
# Needed always
|
||||
basic = {
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, gitUpdater
|
||||
, nixosTests
|
||||
, nix-update-script
|
||||
|
||||
, autoPatchelfHook
|
||||
, ncurses
|
||||
, pkg-config
|
||||
|
||||
, gcc-unwrapped
|
||||
@@ -41,19 +43,20 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rio";
|
||||
version = "0.0.8";
|
||||
version = "0.0.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "raphamorim";
|
||||
repo = "rio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-NonIMGBASbkbc5JsHKwfaZ9dGQt1f8+hFh/FFyIlIZs=";
|
||||
hash = "sha256-faK0KShbMUuvFbR2m9oCeWSwwrSxyXNWreODtHFyp5U=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-4IJJtLa25aZkFwkMYpnYyRQLeqoBwncgCjorF6Gx6pk=";
|
||||
cargoHash = "sha256-54uyqk6fW3pHCK7JC5T7c8C/0Hcq0K/PBn71tNwnA0g=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
ncurses
|
||||
pkg-config
|
||||
];
|
||||
|
||||
@@ -61,17 +64,32 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = rlinkLibs;
|
||||
|
||||
outputs = [ "out" "terminfo" ];
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [
|
||||
(lib.optionalString withX11 "x11")
|
||||
(lib.optionalString withWayland "wayland")
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# Fail to run in sandbox environment.
|
||||
"--skip=screen::context::test"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -dm 755 "$terminfo/share/terminfo/r/"
|
||||
tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo
|
||||
mkdir -p $out/nix-support
|
||||
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
ignoredVersions = ".(rc|beta).*";
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "v([0-9.]+)" ];
|
||||
};
|
||||
|
||||
tests.test = nixosTests.terminal-emulators.rio;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nixpacks";
|
||||
version = "1.9.2";
|
||||
version = "1.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "railwayapp";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-tUL8pvUmRMTEeQpHbxaBMDuEdaEYVGmkopAhCL26CCk=";
|
||||
sha256 = "sha256-ltssKi78lBkHEgdlVSRPWXEczWIACwHTz0SW57/sTAQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-I+ILjtnbLuxWHmw9KFMc00GWOOpY7UC8i+9nbybDPg4=";
|
||||
cargoHash = "sha256-nUP4g3RFBCC13beSHRqRKdlf3HtHUthGo/friKvce+Q=";
|
||||
|
||||
# skip test due FHS dependency
|
||||
doCheck = false;
|
||||
|
||||
@@ -27,13 +27,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "labwc";
|
||||
version = "0.6.3";
|
||||
version = "0.6.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "labwc";
|
||||
repo = "labwc";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-d8cbY1NbW5LLKxkoh+PFelPhikDOwBrFt3jfizKSb/0=";
|
||||
hash = "sha256-8FMC0tq5Gp5qDPUmoJTCrHEergDMUbiTco17jPTJUgE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -57,7 +57,5 @@ stdenv.mkDerivation (args // {
|
||||
# Stripping takes way too long with the amount of files required by a typical Node.js project.
|
||||
dontStrip = args.dontStrip or true;
|
||||
|
||||
passthru = { inherit npmDeps; } // (args.passthru or { });
|
||||
|
||||
meta = (args.meta or { }) // { platforms = args.meta.platforms or nodejs.meta.platforms; };
|
||||
})
|
||||
|
||||
@@ -87,6 +87,8 @@ rec {
|
||||
inherit buildCommand name;
|
||||
passAsFile = [ "buildCommand" ]
|
||||
++ (derivationArgs.passAsFile or []);
|
||||
}
|
||||
// lib.optionalAttrs (! derivationArgs?meta) {
|
||||
pos = let args = builtins.attrNames derivationArgs; in
|
||||
if builtins.length args > 0
|
||||
then builtins.unsafeGetAttrPos (builtins.head args) derivationArgs
|
||||
|
||||
@@ -1,22 +1,27 @@
|
||||
{ lib
|
||||
, mkXfceDerivation
|
||||
, glib
|
||||
, gtk3
|
||||
, libxfce4ui
|
||||
, pcre
|
||||
, libxfce4util
|
||||
, pcre2
|
||||
, xfce4-panel
|
||||
}:
|
||||
|
||||
mkXfceDerivation {
|
||||
category = "panel-plugins";
|
||||
pname = "xfce4-verve-plugin";
|
||||
version = "2.0.1";
|
||||
rev-prefix = "";
|
||||
sha256 = "sha256-YwUOSTZMoHsWWmi/ajQv/fX8a0IJoc3re3laVEmnX/M=";
|
||||
version = "2.0.3";
|
||||
sha256 = "sha256-K335cs1vWKTNQjZlSUuhK8OmgTsKSzN87IZwS4RtvB8=";
|
||||
|
||||
buildInputs = [ gtk3 libxfce4ui pcre libxfce4util xfce4-panel ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
libxfce4ui
|
||||
libxfce4util
|
||||
pcre2
|
||||
xfce4-panel
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command-line plugin";
|
||||
|
||||
54
pkgs/development/compilers/lunarml/default.nix
Normal file
54
pkgs/development/compilers/lunarml/default.nix
Normal file
@@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, stdenvNoCC
|
||||
, mlton
|
||||
, lua5_3
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "lunarml";
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit pname;
|
||||
|
||||
version = "unstable-2023-06-25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "minoki";
|
||||
repo = "LunarML";
|
||||
rev = "f58f90cf7a2f26340403245907ed183f6a12ab52";
|
||||
sha256 = "djHJfUAPplsejFW9L3fbwTeeWgvR+gKkI8TmwIh8n7E=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
mlton
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
lua5_3
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
make -C thirdparty install
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $doc/${pname} $out/{bin,lib}
|
||||
cp -r bin $out
|
||||
cp -r lib $out
|
||||
cp -r doc/* README.* LICENSE* $doc/${pname}
|
||||
cp -r example $doc/${pname}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Standard ML compiler that produces Lua/JavaScript";
|
||||
homepage = "https://github.com/minoki/LunarML";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ toastal ];
|
||||
platforms = mlton.meta.platforms;
|
||||
};
|
||||
}
|
||||
@@ -16,13 +16,13 @@
|
||||
assert lib.elem lineEditingLibrary [ "isocline" "readline" ];
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "trealla";
|
||||
version = "2.21.33";
|
||||
version = "2.22.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trealla-prolog";
|
||||
repo = "trealla";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-IpJey3S5iOCGfdfyHzc+lU9JR5fK04fnA0Ulq5Mmqks=";
|
||||
hash = "sha256-w91mVdTVXWCAtY0eFyYVxrSKydiqHgsbkl+MQxHt13E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,18 +1,28 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, ninja, pkg-config
|
||||
, zlib, xz, bzip2, zchunk, zstd
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, ninja
|
||||
, pkg-config
|
||||
, zlib
|
||||
, xz
|
||||
, bzip2
|
||||
, zchunk
|
||||
, zstd
|
||||
, expat
|
||||
, withRpm ? !stdenv.isDarwin, rpm
|
||||
, withRpm ? !stdenv.isDarwin
|
||||
, rpm
|
||||
, db
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7.24";
|
||||
version = "0.7.24";
|
||||
pname = "libsolv";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openSUSE";
|
||||
repo = "libsolv";
|
||||
rev = version;
|
||||
owner = "openSUSE";
|
||||
repo = "libsolv";
|
||||
rev = version;
|
||||
sha256 = "sha256-UTVnGJO/9mQF9RwK75hh6IkoP1MwAlFaLCtdYU8uS34=";
|
||||
};
|
||||
|
||||
@@ -24,6 +34,7 @@ stdenv.mkDerivation rec {
|
||||
"-DENABLE_ZCHUNK_COMPRESSION=true"
|
||||
"-DWITH_SYSTEM_ZCHUNK=true"
|
||||
] ++ lib.optionals withRpm [
|
||||
"-DENABLE_COMPS=true"
|
||||
"-DENABLE_PUBKEY=true"
|
||||
"-DENABLE_RPMDB=true"
|
||||
"-DENABLE_RPMDB_BYRPMHEADER=true"
|
||||
@@ -36,10 +47,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free package dependency solver";
|
||||
homepage = "https://github.com/openSUSE/libsolv";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
homepage = "https://github.com/openSUSE/libsolv";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ copumpkin ];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libudev-zero";
|
||||
version = "1.0.2";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "illiliti";
|
||||
repo = "libudev-zero";
|
||||
rev = version;
|
||||
sha256 = "sha256-SU1pPmLLeTWZe5ybhmDplFw6O/vpEjFAKgfKDl0RS4U=";
|
||||
sha256 = "sha256-NXDof1tfr66ywYhCBDlPa+8DUfFj6YH0dvSaxHFqsXI=";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "AR=${stdenv.cc.targetPrefix}ar" ];
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lmdb";
|
||||
version = "0.9.30";
|
||||
version = "0.9.31";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "git.openldap.org";
|
||||
owner = "openldap";
|
||||
repo = "openldap";
|
||||
rev = "LMDB_${version}";
|
||||
sha256 = "sha256-zLa9BtSPzujHAIZKDl69lTo72cI3m/GZejFw5v8bFsg=";
|
||||
sha256 = "sha256-SBbo7MX3NST+OFPDtQshevIYrIsZD9bOkSsH91inMBw=";
|
||||
};
|
||||
|
||||
postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb";
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mongoc";
|
||||
version = "1.24.1";
|
||||
version = "1.24.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mongodb";
|
||||
repo = "mongo-c-driver";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-IVy2PxFM//AKffYfeLyCNjattnFZmqeg6WNTqXI/yMY=";
|
||||
hash = "sha256-gey+/DAfAK69f5q568giLNL4R1UqGD6eiImkjyvnZys=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -20,13 +20,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mygui";
|
||||
version = "3.4.1";
|
||||
version = "3.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MyGUI";
|
||||
repo = "mygui";
|
||||
rev = "MyGUI${version}";
|
||||
hash = "sha256-5u9whibYKPj8tCuhdLOhL4nDisbFAB0NxxdjU/8izb8=";
|
||||
hash = "sha256-yBV0ImOFJlqBPqqOjXYe4SFO2liSGZCEwvehED5Ubj4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
diff --git a/CMake/Utils/MyGUIConfigTargets.cmake b/CMake/Utils/MyGUIConfigTargets.cmake
|
||||
index bba3f91..8f4f351 100644
|
||||
index 7e279c986..b33f097c0 100644
|
||||
--- a/CMake/Utils/MyGUIConfigTargets.cmake
|
||||
+++ b/CMake/Utils/MyGUIConfigTargets.cmake
|
||||
@@ -477,14 +477,6 @@ function(mygui_config_lib PROJECTNAME)
|
||||
@@ -418,15 +418,6 @@ function(mygui_config_lib PROJECTNAME)
|
||||
if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
|
||||
# add GCC visibility flags to shared library build
|
||||
set_target_properties(${PROJECTNAME} PROPERTIES COMPILE_FLAGS "${MYGUI_GCC_VISIBILITY_FLAGS}")
|
||||
@@ -12,7 +12,8 @@ index bba3f91..8f4f351 100644
|
||||
- set_target_properties(${PROJECTNAME} PROPERTIES PUBLIC_HEADER "${${PROJECTNAME}_HEADERS}")
|
||||
- set_target_properties(${PROJECTNAME} PROPERTIES OUTPUT_NAME ${PROJECTNAME})
|
||||
- set_target_properties(${PROJECTNAME} PROPERTIES BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
- set_target_properties(${PROJECTNAME} PROPERTIES INSTALL_NAME_DIR "@executable_path/../Frameworks")
|
||||
- set_target_properties(${PROJECTNAME} PROPERTIES BUILD_WITH_INSTALL_NAME_DIR TRUE)
|
||||
- set_target_properties(${PROJECTNAME} PROPERTIES INSTALL_NAME_DIR "@executable_path/../lib")
|
||||
- endif (APPLE)
|
||||
endif ()
|
||||
endif (MYGUI_STATIC)
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sentry-native";
|
||||
version = "0.6.4";
|
||||
version = "0.6.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-native";
|
||||
rev = version;
|
||||
hash = "sha256-AMGp2tfYMocIdnqHXqxPBoNH+6E8MtCuNTYlt9CigcY=";
|
||||
hash = "sha256-x9xqcQQQS6hUcZaF8Ei8OmDXUP+y3prVyjlzwm4+4ko=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -207,18 +207,6 @@ let
|
||||
lispLibs = super.mathkit.lispLibs ++ [ super.sb-cga ];
|
||||
};
|
||||
|
||||
quri_7_0 = build-asdf-system {
|
||||
inherit (super.quri) pname systems lispLibs;
|
||||
version = "0.7.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "fukamachi";
|
||||
repo = "quri";
|
||||
rev = "0.7.0";
|
||||
sha256 = "sha256-/9p67rfbkdrx5nn4kXEUAM9MzV7NYUsRcKsrP/e2MlA=";
|
||||
};
|
||||
};
|
||||
|
||||
cl-colors2_0_5_4 = build-asdf-system {
|
||||
inherit (super.cl-colors2) pname systems lispLibs;
|
||||
version = "0.5.4";
|
||||
@@ -230,15 +218,15 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
cl-webkit2_3_5_8 = build-asdf-system {
|
||||
cl-webkit2_3_5_9 = build-asdf-system {
|
||||
inherit (super.cl-webkit2) pname systems nativeLibs lispLibs;
|
||||
version = "3.5.8";
|
||||
version = "3.5.9";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "joachifm";
|
||||
repo = "cl-webkit";
|
||||
rev = "3.5.8";
|
||||
sha256 = "sha256-wZ/zRRJlTiOIny4BsU+wsFtxtS5YKx3WalwpCVQPFSY=";
|
||||
rev = "3.5.9";
|
||||
sha256 = "sha256-YJo5ahL6+HLeJrxFBuZZjuK3OfA6DnAu82vvXMsNBgI=";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -255,7 +243,7 @@ let
|
||||
|
||||
lispLibs = [
|
||||
self.cl-containers
|
||||
self.nclasses_0_5_0
|
||||
self.nclasses
|
||||
super.alexandria
|
||||
super.calispel
|
||||
super.closer-mop
|
||||
@@ -268,7 +256,7 @@ let
|
||||
|
||||
};
|
||||
|
||||
nasdf-unstable = build-asdf-system {
|
||||
nasdf = build-asdf-system {
|
||||
pname = "nasdf";
|
||||
version = "20230524-git";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
@@ -279,7 +267,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
njson_1_0_0 = build-asdf-system {
|
||||
njson = build-asdf-system {
|
||||
pname = "njson";
|
||||
version = "1.0.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
@@ -288,11 +276,11 @@ let
|
||||
rev = "1.0.0";
|
||||
sha256 = "sha256-zeOxkoi5cPl1sw1oEOaMsKhhs3Pb8EzzKTjvuDNj/Ko=";
|
||||
};
|
||||
lispLibs = [ self.nasdf-unstable super.cl-json ];
|
||||
lispLibs = [ self.nasdf super.cl-json ];
|
||||
systems = [ "njson" "njson/cl-json" ];
|
||||
};
|
||||
|
||||
nsymbols_0_3_1 = build-asdf-system {
|
||||
nsymbols = build-asdf-system {
|
||||
pname = "nsymbols";
|
||||
version = "0.3.1";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
@@ -306,7 +294,7 @@ let
|
||||
|
||||
};
|
||||
|
||||
nclasses_0_5_0 = build-asdf-system {
|
||||
nclasses = build-asdf-system {
|
||||
pname = "nclasses";
|
||||
version = "0.5.0";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
@@ -315,22 +303,22 @@ let
|
||||
rev = "0.5.0";
|
||||
sha256 = "sha256-UcavZ0fCA2hkVU/CqUZfyCqJ8gXKPpXTCP0WLUIF1Ss=";
|
||||
};
|
||||
lispLibs = [ self.nasdf-unstable super.moptilities ];
|
||||
lispLibs = [ self.nasdf super.moptilities ];
|
||||
};
|
||||
|
||||
nfiles_1_1_2 = build-asdf-system {
|
||||
nfiles = build-asdf-system {
|
||||
pname = "nfiles";
|
||||
version = "1.1.2";
|
||||
version = "20230705-git";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "atlas-engineer";
|
||||
repo = "nfiles";
|
||||
rev = "1.1.2";
|
||||
sha256 = "sha256-YsVcCFrJIFL9Z4wQNAv6chiz6wB/eB8v/EUMXPLs3fw=";
|
||||
rev = "3626e8d512a84efc12479ceb3969d194511757f7";
|
||||
sha256 = "sha256-MoJdbTOVfw2rJk4cf/rEnR55BxdXkoqqu9Txd/R9OYQ=";
|
||||
};
|
||||
lispLibs = [
|
||||
self.nasdf-unstable
|
||||
self.nclasses_0_5_0
|
||||
self.quri_7_0
|
||||
self.nasdf
|
||||
self.nclasses
|
||||
super.quri
|
||||
super.alexandria
|
||||
super.iolib
|
||||
super.serapeum
|
||||
@@ -372,27 +360,17 @@ let
|
||||
alexandria
|
||||
cl-custom-hash-table
|
||||
local-time
|
||||
nasdf-unstable
|
||||
nclasses_0_5_0
|
||||
nasdf
|
||||
nclasses
|
||||
trivial-package-local-nicknames
|
||||
];
|
||||
};
|
||||
|
||||
nyxt-gtk = build-asdf-system {
|
||||
pname = "nyxt";
|
||||
version = "3.3.0";
|
||||
version = "3.4.0";
|
||||
|
||||
lispLibs = (with super; [
|
||||
self.nasdf-unstable
|
||||
self.prompter
|
||||
self.cl-colors2_0_5_4
|
||||
self.njson_1_0_0
|
||||
self.nsymbols_0_3_1
|
||||
self.nclasses_0_5_0
|
||||
self.nfiles_1_1_2
|
||||
self.quri_7_0
|
||||
self.cl-webkit2_3_5_8
|
||||
self.swank
|
||||
alexandria
|
||||
bordeaux-threads
|
||||
calispel
|
||||
@@ -406,7 +384,6 @@ let
|
||||
cl-qrencode
|
||||
cl-tld
|
||||
closer-mop
|
||||
cl-containers
|
||||
dissect
|
||||
moptilities
|
||||
dexador
|
||||
@@ -440,17 +417,28 @@ let
|
||||
cluffer
|
||||
cl-cffi-gtk
|
||||
cl-gobject-introspection
|
||||
quri
|
||||
]) ++ (with self; [
|
||||
history-tree
|
||||
nhooks
|
||||
nkeymaps
|
||||
nasdf
|
||||
prompter
|
||||
cl-colors2_0_5_4
|
||||
njson
|
||||
nsymbols
|
||||
nclasses
|
||||
nfiles
|
||||
cl-webkit2_3_5_9
|
||||
swank
|
||||
cl-containers
|
||||
]);
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "atlas-engineer";
|
||||
repo = "nyxt";
|
||||
rev = "3.3.0";
|
||||
sha256 = "sha256-hSu+XGb87yzZPbJgcUhU81VGhNdMiN6GKspGQJU+SxY=";
|
||||
rev = "3.4.0";
|
||||
sha256 = "sha256-o+GAMHKi+9q+EGY6SEZrxKCEO4IxdOiB4oPpJPGYO0w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "eio";
|
||||
version = "0.10";
|
||||
version = "0.11";
|
||||
|
||||
minimalOCamlVersion = "5.0";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "OQ94FFB7gTPWwl46Z6dC1zHHymYlKyh7H7DjrU0Q7sw=";
|
||||
sha256 = "DDN0IHRWJjFneIb0/koC+Wcs7JQpf/hcLthU21uqcao=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
, buildDunePackage
|
||||
, eio
|
||||
, eio_posix
|
||||
, uring
|
||||
, eio_linux
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
@@ -18,6 +18,6 @@ buildDunePackage {
|
||||
propagatedBuildInputs = [
|
||||
eio_posix
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
uring
|
||||
eio_linux
|
||||
];
|
||||
}
|
||||
|
||||
32
pkgs/development/python-modules/altgraph/default.nix
Normal file
32
pkgs/development/python-modules/altgraph/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "altgraph";
|
||||
version = "0.17.3";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ad33358114df7c9416cdb8fa1eaa5852166c505118717021c6a8c7c7abbd03dd";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "altgraph" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/ronaldoussoren/altgraph/tags${version}";
|
||||
description = "A fork of graphlib: a graph (network) package for constructing graphs";
|
||||
longDescription = ''
|
||||
altgraph is a fork of graphlib: a graph (network) package for constructing graphs,
|
||||
BFS and DFS traversals, topological sort, shortest paths, etc. with graphviz output.
|
||||
altgraph includes some additional usage of Python 2.6+ features and enhancements related to modulegraph and macholib.
|
||||
'';
|
||||
homepage = "https://altgraph.readthedocs.io/";
|
||||
downloadPage = "https://pypi.org/project/altgraph/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ septem9er ];
|
||||
};
|
||||
}
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "blocksat-cli";
|
||||
version = "0.4.5";
|
||||
version = "0.4.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-BLR1eivvlbSTx/jr7Rl778apPBcoFCaKOsYOqxS6Fo4=";
|
||||
hash = "sha256-uANAMNoAC4HUoUuR5ldxoiy+LLzZVpKosU5JttXLnqg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, orjson
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@@ -10,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bond-async";
|
||||
version = "0.1.23";
|
||||
version = "0.2.1";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -20,11 +21,12 @@ buildPythonPackage rec {
|
||||
owner = "bondhome";
|
||||
repo = "bond-async";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Kht2O/+F7Nw78p1Q6NGugm2bfAwZAUWAs30htoWkafI=";
|
||||
hash = "sha256-YRJHUOYFLf4dtQGIFKHLdUQxWTnZzG1MPirMsGvDor8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
orjson
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -37,11 +39,11 @@ buildPythonPackage rec {
|
||||
"bond_async"
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Asynchronous Python wrapper library over Bond Local API";
|
||||
homepage = "https://github.com/bondhome/bond-async";
|
||||
changelog = "https://github.com/bondhome/bond-async/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cloup";
|
||||
version = "2.1.1";
|
||||
version = "3.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-u/4RaGM0MJs/vodq99ubwmXU6uqTtWL9E0cnZ69khhU=";
|
||||
hash = "sha256-ur1L3P0nT4Z3nW0845ueoPbMWrPU7+NbpoQebW0DeJM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
99
pkgs/development/python-modules/detectron2/default.nix
Normal file
99
pkgs/development/python-modules/detectron2/default.nix
Normal file
@@ -0,0 +1,99 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonRelaxDepsHook
|
||||
, ninja
|
||||
# build inputs
|
||||
, pillow
|
||||
, matplotlib
|
||||
, pycocotools
|
||||
, termcolor
|
||||
, yacs
|
||||
, tabulate
|
||||
, cloudpickle
|
||||
, tqdm
|
||||
, tensorboard
|
||||
, fvcore
|
||||
, iopath
|
||||
, omegaconf
|
||||
, hydra-core
|
||||
, black
|
||||
, packaging
|
||||
# optional dependencies
|
||||
, fairscale
|
||||
, timm
|
||||
, scipy
|
||||
, shapely
|
||||
, pygments
|
||||
, psutil
|
||||
}:
|
||||
|
||||
let
|
||||
name = "detectron2";
|
||||
version = "0.6";
|
||||
optional-dependencies = {
|
||||
all = [
|
||||
fairscale
|
||||
timm
|
||||
scipy
|
||||
shapely
|
||||
pygments
|
||||
psutil
|
||||
];
|
||||
};
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit name version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebookresearch";
|
||||
repo = name;
|
||||
rev = "v${version}";
|
||||
sha256 = "1w6cgvc8r2lwr72yxicls650jr46nriv1csivp2va9k1km8jx2sf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
ninja
|
||||
];
|
||||
|
||||
dontUseNinjaBuild = true;
|
||||
dontUseNinjaInstall = true;
|
||||
dontUseNinjaCheck = true;
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"black"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pillow
|
||||
matplotlib
|
||||
pycocotools
|
||||
termcolor
|
||||
yacs
|
||||
tabulate
|
||||
cloudpickle
|
||||
tqdm
|
||||
tensorboard
|
||||
fvcore
|
||||
iopath
|
||||
omegaconf
|
||||
hydra-core
|
||||
black
|
||||
packaging
|
||||
] ++ optional-dependencies.all;
|
||||
|
||||
passthru.optional-dependencies = optional-dependencies;
|
||||
|
||||
# disable the tests for now until someone can check on a linux machine.
|
||||
# doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "detectron2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Facebooks's next-generation platform for object detection, segmentation and other visual recognition tasks";
|
||||
homepage = "https://github.com/facebookresearch/detectron2";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
# build inputs
|
||||
, torch
|
||||
, numpy
|
||||
@@ -19,7 +20,7 @@ let
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
format = "setuptools";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
@@ -30,10 +31,16 @@ buildPythonPackage {
|
||||
hash = "sha256-L2Rl/qL6l0OLAofygzJBGQdp/2ZrgDFarwZRjyAR3dw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ninja ];
|
||||
dontUseNinjaBuild = true;
|
||||
dontUseNinjaInstall = true;
|
||||
dontUseNinjaCheck = true;
|
||||
# setup.py depends on ninja python dependency, but we have the binary in nixpkgs
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'setup_requires=["ninja"]' 'setup_requires=[]'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
ninja
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
torch
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "generic";
|
||||
version = "1.1.1";
|
||||
version = "1.1.2";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-UHz2v6K5lNYb7cxBViTfPkpu2M8LItApGoSg3Bb2bqI=";
|
||||
hash = "sha256-NfUvmkUIAdm+UZqmBWh0MZTViLJSkeRonPNSnVd+RbA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -32,6 +32,7 @@ buildPythonPackage rec {
|
||||
description = "Generic programming (Multiple dispatch) library for Python";
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
homepage = "https://github.com/gaphor/generic";
|
||||
license = licenses.bsdOriginal;
|
||||
changelog = "https://github.com/gaphor/generic/releases/tag/${version}";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
39
pkgs/development/python-modules/hyperpyyaml/default.nix
Normal file
39
pkgs/development/python-modules/hyperpyyaml/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, ruamel-yaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hyperpyyaml";
|
||||
version = "1.2.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "speechbrain";
|
||||
repo = "hyperpyyaml";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tC4kLJAY9MVgjWwU2Qu0rPCVDw7CjKVIciRZgYhnR9I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hyperpyyaml" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extensions to YAML syntax for better python interaction";
|
||||
homepage = "https://github.com/speechbrain/HyperPyYAML";
|
||||
changelog = "https://github.com/speechbrain/HyperPyYAML/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oci";
|
||||
version = "2.105.0";
|
||||
version = "2.106.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "oracle";
|
||||
repo = "oci-python-sdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-EiyvAVFEC/hVPTagV4CsyrMRyc89cEzG2NIS2nJg+NU=";
|
||||
hash = "sha256-46+/uxCwAO9E1YBE337lsD3h2jkcBCYM7o3Vzh42tmI=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, coloredlogs
|
||||
, numpy
|
||||
, onnx
|
||||
, packaging
|
||||
, psutil
|
||||
, py-cpuinfo
|
||||
, py3nvml
|
||||
, sympy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "onnxruntime-tools";
|
||||
version = "1.7.0";
|
||||
format = "wheel";
|
||||
|
||||
# the build distribution doesn't work at all, it seems to expect the same structure
|
||||
# as the github source repo.
|
||||
# The github source wasn't immediately obvious how to build for this subpackage.
|
||||
src = fetchPypi {
|
||||
pname = "onnxruntime_tools";
|
||||
inherit version;
|
||||
format = "wheel";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-Hf+Ii1xIKsW8Yn8S4QhEX+/LPWAMQ/Y2M5dTFv5hetg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
coloredlogs
|
||||
numpy
|
||||
onnx
|
||||
packaging
|
||||
psutil
|
||||
py-cpuinfo
|
||||
py3nvml
|
||||
sympy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "onnxruntime_tools" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Transformers Model Optimization Tool of ONNXRuntime";
|
||||
homepage = "https://pypi.org/project/onnxruntime-tools/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "onvif-zeep-async";
|
||||
version = "3.1.9";
|
||||
version = "3.1.12";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-szvRN2EmBV4BEM7EuL/Db5hwBtXwbn7M21h9NzS8l3k=";
|
||||
hash = "sha256-TXSwrWnDXzntXZN/u09QB3BsIa6tpf6LpGFKEyA/GH8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
29
pkgs/development/python-modules/py3nvml/default.nix
Normal file
29
pkgs/development/python-modules/py3nvml/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py3nvml";
|
||||
version = "0.2.7";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Ce4dBFmKbmZOJEZfgEzjv+EZpv21Ni3xwWj4qpKfvXM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
xmltodict
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "py3nvml" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python 3 Bindings for the NVIDIA Management Library";
|
||||
homepage = "https://pypi.org/project/py3nvml/";
|
||||
license = with licenses; [ bsd3 bsd2 ];
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
};
|
||||
}
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygtfs";
|
||||
version = "0.1.7";
|
||||
version = "0.1.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-sGJwtf8DVIrE4hcU3IksnyAAt8yf67UBJIiVILDSsv8=";
|
||||
hash = "sha256-J5vu51OOMabWd8h60PpvvBiCnwQlhEnBywNXxy9hOuA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/tests/test_kdtree.py b/tests/test_kdtree.py
|
||||
index 0110083..049fa07 100644
|
||||
--- a/tests/test_kdtree.py
|
||||
+++ b/tests/test_kdtree.py
|
||||
@@ -23,7 +23,7 @@ def run_kdtree():
|
||||
|
||||
tree = cKDTree(data_points)
|
||||
|
||||
- distances2, indices2 = tree.query(query_points, k=k, n_jobs=-1)
|
||||
+ distances2, indices2 = tree.query(query_points, k=k)
|
||||
|
||||
t2 = time.perf_counter()
|
||||
|
||||
55
pkgs/development/python-modules/pymatting/default.nix
Normal file
55
pkgs/development/python-modules/pymatting/default.nix
Normal file
@@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numba
|
||||
, numpy
|
||||
, pillow
|
||||
, scipy
|
||||
, pytestCheckHook
|
||||
,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "pymatting";
|
||||
version = "1.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymatting";
|
||||
repo = "pymatting";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9eRpsWwXAkp6aw1ZWJsUFf0BMIN0UBFc2rW1lltL2cw=";
|
||||
};
|
||||
|
||||
patches = [ ./01-kdtree-signature.patch ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numba
|
||||
numpy
|
||||
pillow
|
||||
scipy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pymatting" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# no access to input data set
|
||||
# see: https://github.com/pymatting/pymatting/blob/master/tests/download_images.py
|
||||
"test_alpha"
|
||||
"test_laplacians"
|
||||
"test_preconditioners"
|
||||
"test_lkm"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python library for alpha matting";
|
||||
homepage = "https://github.com/pymatting/pymatting";
|
||||
changelog = "https://github.com/pymatting/pymatting/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
};
|
||||
}
|
||||
|
||||
33
pkgs/development/python-modules/pypika/default.nix
Normal file
33
pkgs/development/python-modules/pypika/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, parameterized
|
||||
, unittestCheckHook
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "pypika";
|
||||
version = "0.48.9";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kayak";
|
||||
repo = "pypika";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-9HKT1xRu23F5ptiKhIgIR8srLIcpDzpowBNuYOhqMU0=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = ["pypika"];
|
||||
|
||||
nativeCheckInputs = [
|
||||
parameterized
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A python SQL query builder";
|
||||
homepage = "https://github.com/kayak/pypika";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ blaggacao ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,16 +22,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyrainbird";
|
||||
version = "2.1.0";
|
||||
version = "3.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "allenporter";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-JTZtRh7Ecsq0DUpGt5AxAVnN79i/nppsEjoHWcpTOsM=";
|
||||
hash = "sha256-G/mmM2lEQWJV+7uZHKECj1jnhTYbcOw9yCi4/9nRDuk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysmartapp";
|
||||
version = "0.3.4";
|
||||
version = "0.3.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "andrewsayre";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-zYjv7wRxQTS4PnNaY69bw9xE6I4DZMocwUzEICBfwqM=";
|
||||
hash = "sha256-RiRGOO5l5hcHllyDDGLtQHr51JOTZhAa/wK8BfMqmAY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
55
pkgs/development/python-modules/speechbrain/default.nix
Normal file
55
pkgs/development/python-modules/speechbrain/default.nix
Normal file
@@ -0,0 +1,55 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, huggingface-hub
|
||||
, hyperpyyaml
|
||||
, joblib
|
||||
, lib
|
||||
, numpy
|
||||
, packaging
|
||||
, pythonOlder
|
||||
, sentencepiece
|
||||
, scipy
|
||||
, torch
|
||||
, torchaudio
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "speechbrain";
|
||||
version = "0.5.14";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "speechbrain";
|
||||
repo = "speechbrain";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r1q7JO+H7ynfrzlihRTY0PtMGmvwm98BHUZV534ABXw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
huggingface-hub
|
||||
hyperpyyaml
|
||||
joblib
|
||||
numpy
|
||||
packaging
|
||||
sentencepiece
|
||||
scipy
|
||||
torch
|
||||
torchaudio
|
||||
tqdm
|
||||
];
|
||||
|
||||
doCheck = false; # requires sox backend
|
||||
|
||||
pythonImportsCheck = [ "speechbrain" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A PyTorch-based Speech Toolkit";
|
||||
homepage = "https://speechbrain.github.io";
|
||||
changelog = "https://github.com/speechbrain/speechbrain/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, pythonRelaxDepsHook
|
||||
, numpy
|
||||
, wheel
|
||||
@@ -26,7 +25,7 @@ buildPythonPackage rec {
|
||||
pname = "tensorboard";
|
||||
version = "2.11.0";
|
||||
format = "wheel";
|
||||
disabled = pythonOlder "3.6" || pythonAtLeast "3.11";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version format;
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tern";
|
||||
version = "2.12.0";
|
||||
version = "2.12.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-XvhKe7mf09Nr3sbpMOKOO63HQ+9thgluU02iEIdWSpg=";
|
||||
hash = "sha256-yMIvFiliEHrbZMqvX3ZAROWcqii5VmB54QEYHGRJocA=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
# optional dependencies
|
||||
, scikit-learn
|
||||
, tensorflow
|
||||
, onnxconverter-common
|
||||
, torch
|
||||
, accelerate
|
||||
, faiss
|
||||
@@ -27,6 +28,7 @@
|
||||
, optax
|
||||
, ftfy
|
||||
, onnxruntime
|
||||
, onnxruntime-tools
|
||||
, cookiecutter
|
||||
, sagemaker
|
||||
, fairscale
|
||||
@@ -96,7 +98,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
tf = [
|
||||
tensorflow
|
||||
# onnxconverter-common
|
||||
onnxconverter-common
|
||||
# tf2onnx
|
||||
# tensorflow-text
|
||||
# keras-nlp
|
||||
@@ -113,10 +115,10 @@ buildPythonPackage rec {
|
||||
ftfy = [ ftfy ];
|
||||
onnxruntime = [
|
||||
onnxruntime
|
||||
# onnxruntime-tools
|
||||
onnxruntime-tools
|
||||
];
|
||||
onnx = [
|
||||
# onnxconverter-common
|
||||
onnxconverter-common
|
||||
# tf2onnx
|
||||
onnxruntime
|
||||
];
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twilio";
|
||||
version = "8.4.0";
|
||||
version = "8.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "twilio";
|
||||
repo = "twilio-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ZvAbzceHEkVf/BPT8klYuiFQbMn/NCwsDTR32ku1c8w=";
|
||||
hash = "sha256-tU4nyjo1DC7F2UvaV6Hn/Nqxbm8OR1E1qtUGMVgZ8U8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "vdirsyncer";
|
||||
version = "0.19.1";
|
||||
version = "0.19.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-qnbHclqlpxH2N0vFzYO+eKrmjHSCljWp7Qc81MCfA64=";
|
||||
hash = "sha256-/QWM7quCk0WaBGbNmw5Ks7OUYsbgiaDwrDfDB0INgro=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -72,9 +72,10 @@ buildPythonPackage rec {
|
||||
passthru.tests.version = testers.testVersion { package = vdirsyncer; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/pimutils/vdirsyncer";
|
||||
description = "Synchronize calendars and contacts";
|
||||
license = licenses.mit;
|
||||
homepage = "https://github.com/pimutils/vdirsyncer";
|
||||
changelog = "https://github.com/pimutils/vdirsyncer/blob/v${version}/CHANGELOG.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ loewenheim ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ lib, stdenv
|
||||
, build2
|
||||
, fetchpatch
|
||||
, fetchurl
|
||||
, git
|
||||
, libbpkg
|
||||
@@ -22,6 +23,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-3F4Pv8YX++cNa6aKhPM67mrt/5oE1IeoZUSmljHqBfI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Patch git tests for git v2.38+
|
||||
# Remove when bumping to v0.16.0 or greater
|
||||
(fetchpatch {
|
||||
url = "https://github.com/build2/bpkg/commit/a97b12a027546b37f66d3e08064f92f5539cf79.patch";
|
||||
sha256 = "sha256-x5iJQXt84XyjZYdAmYO4FymSV2vi7nfIoeMOxFm/2eQ=";
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
build2
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "buildkit";
|
||||
version = "0.11.6";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moby";
|
||||
repo = "buildkit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-K0PHnrJwDI4myb7/7zyEsqtL1qQYy3ue+r+9EqTB1Oo=";
|
||||
hash = "sha256-sV5X3+evRDS6Ryi0UKLlPlzmzRE0NXERoVlQ8S5o/4I=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "bundletool";
|
||||
version = "1.15.1";
|
||||
version = "1.15.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/google/bundletool/releases/download/${version}/bundletool-all-${version}.jar";
|
||||
sha256 = "sha256-rsncZPslrMZOtmi0XA7GoOu6MNtKLghLYbevCnOAoOE=";
|
||||
sha256 = "sha256-lmMVIZUq0GTMJVSotA2lFxirAKZz8wrwGkkUR9ZP/dA=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
@@ -1,28 +1,35 @@
|
||||
{ lib
|
||||
, fetchFromGitea
|
||||
, buildGoModule
|
||||
, testers
|
||||
, gitea-actions-runner
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gitea-actions-runner";
|
||||
version = "0.1.8";
|
||||
version = "0.2.3";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "gitea.com";
|
||||
owner = "gitea";
|
||||
repo = "act_runner";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-J67g0jy/5Dfmvu3bSPqH+r9+MuLyl2lZyEZrOovfNJI=";
|
||||
hash = "sha256-RNH/12XV07nWhGnmR4FKJSSK/KnLA76+pKFHTPG8AAk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Ik4n1oB6MWE2djcM5CdDhJKx4IJsZu7eJr5St+T67B4=";
|
||||
vendorHash = "sha256-VS1CIxV0e01h5L1UA4p8R1Z28yLOEZTMxS+gbEaJwKs=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${version}"
|
||||
"-X gitea.com/gitea/act_runner/internal/pkg/ver.version=v${version}"
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = gitea-actions-runner;
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
mainProgram = "act_runner";
|
||||
maintainers = with maintainers; [ techknowlogick ];
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "kubie";
|
||||
version = "0.19.3";
|
||||
version = "0.20.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "sbstp";
|
||||
repo = "kubie";
|
||||
sha256 = "sha256-c4+ebl/tWPxAlgt/N5/xalZQZGSizKp/pDcgojbjy7A=";
|
||||
sha256 = "sha256-qWF0DCttotGEw6aLv+hCHqr2arZGSniOqzAiFdfgF34=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-D3RjlYMD/UHfYxUMvZVSiRHOPmcLVGgsRVghoaMn9AM=";
|
||||
cargoHash = "sha256-FLlz2bfc57WWzhc9JuV6OlbYCZOd61FojPcACjBt3i0=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
let
|
||||
pname = "phpunit";
|
||||
version = "10.2.2";
|
||||
version = "10.2.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://phar.phpunit.de/phpunit-${version}.phar";
|
||||
hash = "sha256-UAxqywIMrP42Nul0GV6mkKkXtnS7ah9rl4y1ykpJsxM=";
|
||||
hash = "sha256-lSNrFsLF5t3vduIUGjlD6L6Ii5R5CU/ViXuSe2dV4X8=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "twilio-cli";
|
||||
version = "5.10.0";
|
||||
version = "5.11.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://twilio-cli-prod.s3.amazonaws.com/twilio-v${finalAttrs.version}/twilio-v${finalAttrs.version}.tar.gz";
|
||||
sha256 = "sha256-ZS4S+Pc/abgF4Rk0iblIO6ckzBanbTfhEprIkQ79BK8=";
|
||||
sha256 = "sha256-h8Y8AgXOfl7GWlyRYRAw+SlD3ZX9U0NMyvBQiI/vGgY=";
|
||||
};
|
||||
|
||||
buildInputs = [ nodejs ];
|
||||
|
||||
46
pkgs/development/web/boa/default.nix
Normal file
46
pkgs/development/web/boa/default.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, bzip2
|
||||
, openssl
|
||||
, zstd
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "boa";
|
||||
version = "0.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boa-dev";
|
||||
repo = "boa";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3Iv7Ko6ukbmec4yDKayxW0T6+3ZNbUT4wWwEarBy4Zs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cargoHash = "sha256-2ZzTvVoA4oxy26rL0tvdvXm2oVWpHP+gooyjB4vIP3M=";
|
||||
|
||||
cargoBuildFlags = [ "--package" "boa_cli" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
[ bzip2 openssl zstd ]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
env = { ZSTD_SYS_USE_PKG_CONFIG = true; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "An embeddable and experimental Javascript engine written in Rust";
|
||||
homepage = "https://github.com/boa-dev/boa";
|
||||
changelog = "https://github.com/boa-dev/boa/blob/${src.rev}/CHANGELOG.md";
|
||||
license = with licenses; [ mit /* or */ unlicense ];
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
};
|
||||
}
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "flyctl";
|
||||
version = "0.1.53";
|
||||
version = "0.1.56";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "superfly";
|
||||
repo = "flyctl";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Fmfj7p8gnArUniI4fTPusspu2ZNjU9mpH2CckTdgiNQ=";
|
||||
hash = "sha256-Megf4kQ17rwvHKlREzEw7YIibtl/wol0U5bVvPuwxxI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-bMuXqoxwwmMxo7RtbYnpfKuYYRXYdSF2p6oyBP6xJ40=";
|
||||
vendorHash = "sha256-EI1cyLCiUEkit80gh0BV6Ti8CX8KYuIqz2od7LDLTXg=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user