Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2022-02-04 00:08:07 +00:00 committed by GitHub
commit 97dcdd5e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
231 changed files with 2924 additions and 2477 deletions

View File

@ -13,10 +13,10 @@ assignees: ''
<!-- Note that these are hard requirements -->
<!--
You can use the "Go to file" functionality on github to find the package
You can use the "Go to file" functionality on GitHub to find the package
Then you can go to the history for this package
Find the latest "package_name: old_version -> new_version" commit
The "new_version" is the the current version of the package
The "new_version" is the current version of the package
-->
- [ ] Checked the [nixpkgs master branch](https://github.com/NixOS/nixpkgs)
<!--
@ -29,7 +29,7 @@ There's a high chance that you'll have the new version right away while helping
###### Project name
`nix search` name:
<!--
The current version can be found easily with the same process than above for checking the master branch
The current version can be found easily with the same process as above for checking the master branch
If an open PR is present for the package, take this version as the current one and link to the PR
-->
current version:

View File

@ -319,10 +319,14 @@ For information about how to run the updates, execute `nix-shell maintainers/scr
## Phases {#sec-stdenv-phases}
The generic builder has a number of *phases*. Package builds are split into phases to make it easier to override specific parts of the build (e.g., unpacking the sources or installing the binaries). Furthermore, it allows a nicer presentation of build logs in the Nix build farm.
`stdenv.mkDerivation` sets the Nix [derivation](https://nixos.org/manual/nix/stable/expressions/derivations.html#derivations)'s builder to a script that loads the stdenv `setup.sh` bash library and calls `genericBuild`. Most packaging functions rely on this default builder.
This generic command invokes a number of *phases*. Package builds are split into phases to make it easier to override specific parts of the build (e.g., unpacking the sources or installing the binaries).
Each phase can be overridden in its entirety either by setting the environment variable `namePhase` to a string containing some shell commands to be executed, or by redefining the shell function `namePhase`. The former is convenient to override a phase from the derivation, while the latter is convenient from a build script. However, typically one only wants to *add* some commands to a phase, e.g. by defining `postInstall` or `preFixup`, as skipping some of the default actions may have unexpected consequences. The default script for each phase is defined in the file `pkgs/stdenv/generic/setup.sh`.
While inside an interactive `nix-shell`, if you wanted to run all phases in the order they would be run in an actual build, you can invoke `genericBuild` yourself.
### Controlling phases {#ssec-controlling-phases}
There are a number of variables that control what phases are executed and in what order:

View File

@ -11811,6 +11811,13 @@
githubId = 863327;
name = "Tyler Benster";
};
tboerger = {
email = "thomas@webhippie.de";
matrix = "@tboerger:matrix.org";
github = "tboerger";
githubId = 156964;
name = "Thomas Boerger";
};
tcbravo = {
email = "tomas.bravo@protonmail.ch";
github = "tcbravo";

View File

@ -149,10 +149,16 @@ rec {
if [[ -h '${output}' ]]; then
rm '${output}'
fi
inherit_errexit_restore=$(shopt -p inherit_errexit)
shopt -s inherit_errexit
''
+ concatStringsSep
"\n"
(imap1 (index: name: "export secret${toString index}=$(<'${secrets.${name}}')")
(imap1 (index: name: ''
secret${toString index}=$(<'${secrets.${name}}')
export secret${toString index}
'')
(attrNames secrets))
+ "\n"
+ "${pkgs.jq}/bin/jq >'${output}' '"
@ -164,6 +170,7 @@ rec {
' <<'EOF'
${builtins.toJSON set}
EOF
$inherit_errexit_restore
'';
systemdUtils = {

View File

@ -356,7 +356,6 @@
./services/desktops/cpupower-gui.nix
./services/desktops/dleyna-renderer.nix
./services/desktops/dleyna-server.nix
./services/desktops/pantheon/files.nix
./services/desktops/espanso.nix
./services/desktops/flatpak.nix
./services/desktops/geoclue2.nix

View File

@ -60,6 +60,9 @@ with lib;
(mkRemovedOptionModule [ "services" "moinmoin" ] "The corresponding package was removed from nixpkgs.")
(mkRemovedOptionModule [ "services" "mwlib" ] "The corresponding package was removed from nixpkgs.")
(mkRemovedOptionModule [ "services" "osquery" ] "The osquery module has been removed")
(mkRemovedOptionModule [ "services" "pantheon" "files" ] ''
This module was removed, please add pkgs.pantheon.elementary-files to environment.systemPackages directly.
'')
(mkRemovedOptionModule [ "services" "prey" ] ''
prey-bash-client is deprecated upstream
'')

View File

@ -1,13 +0,0 @@
# pantheon files daemon.
{ config, pkgs, lib, ... }:
with lib;
{
imports = [
(mkRemovedOptionModule [ "services" "pantheon" "files" "enable" ] "Use `environment.systemPackages [ pkgs.pantheon.elementary-files ];`")
];
}

View File

@ -20,6 +20,9 @@ in
###### implementation
config = lib.mkIf cfg.enable {
# Load the i2c-dev module
boot.kernelModules = [ "i2c_dev" ];
# Give users access to the "gddccontrol" tool
environment.systemPackages = [
pkgs.ddccontrol

View File

@ -1131,8 +1131,8 @@ in {
ExecStartPre = let
preStartFullPrivileges = ''
shopt -s dotglob nullglob
set -eu
set -o errexit -o pipefail -o nounset
shopt -s dotglob nullglob inherit_errexit
chown --no-dereference '${cfg.user}':'${cfg.group}' '${cfg.statePath}'/*
if [[ -n "$(ls -A '${cfg.statePath}'/config/)" ]]; then
@ -1142,7 +1142,8 @@ in {
in "+${pkgs.writeShellScript "gitlab-pre-start-full-privileges" preStartFullPrivileges}";
ExecStart = pkgs.writeShellScript "gitlab-config" ''
set -eu
set -o errexit -o pipefail -o nounset
shopt -s inherit_errexit
umask u=rwx,g=rx,o=
@ -1171,7 +1172,8 @@ in {
rm -f '${cfg.statePath}/config/database.yml'
${if cfg.databasePasswordFile != null then ''
export db_password="$(<'${cfg.databasePasswordFile}')"
db_password="$(<'${cfg.databasePasswordFile}')"
export db_password
if [[ -z "$db_password" ]]; then
>&2 echo "Database password was an empty string!"
@ -1195,10 +1197,11 @@ in {
rm -f '${cfg.statePath}/config/secrets.yml'
export secret="$(<'${cfg.secrets.secretFile}')"
export db="$(<'${cfg.secrets.dbFile}')"
export otp="$(<'${cfg.secrets.otpFile}')"
export jws="$(<'${cfg.secrets.jwsFile}')"
secret="$(<'${cfg.secrets.secretFile}')"
db="$(<'${cfg.secrets.dbFile}')"
otp="$(<'${cfg.secrets.otpFile}')"
jws="$(<'${cfg.secrets.jwsFile}')"
export secret db otp jws
jq -n '{production: {secret_key_base: $ENV.secret,
otp_key_base: $ENV.otp,
db_key_base: $ENV.db,
@ -1232,7 +1235,8 @@ in {
RemainAfterExit = true;
ExecStart = pkgs.writeShellScript "gitlab-db-config" ''
set -eu
set -o errexit -o pipefail -o nounset
shopt -s inherit_errexit
umask u=rwx,g=rx,o=
initial_root_password="$(<'${cfg.initialRootPasswordFile}')"

View File

@ -329,7 +329,7 @@ in {
"zwave_js"
];
in {
ExecStart = "${package}/bin/hass --runner --config '${cfg.configDir}'";
ExecStart = "${package}/bin/hass --config '${cfg.configDir}'";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "hass";
Group = "hass";

View File

@ -128,6 +128,8 @@ in
systemd.services.self-deploy = {
wantedBy = [ "multi-user.target" ];
startAt = cfg.startAt;
requires = lib.mkIf (!(isPathType cfg.repository)) [ "network-online.target" ];
environment.GIT_SSH_COMMAND = lib.mkIf (!(isNull cfg.sshKeyFile))

View File

@ -224,7 +224,6 @@ in
programs.file-roller.package = pkgs.pantheon.file-roller;
# Settings from elementary-default-settings
environment.sessionVariables.GTK_CSD = "1";
environment.etc."gtk-3.0/settings.ini".source = "${pkgs.pantheon.elementary-default-settings}/etc/gtk-3.0/settings.ini";
xdg.portal.extraPortals = with pkgs.pantheon; [

View File

@ -82,5 +82,5 @@ in {
};
};
meta.maintainers = with maintainers; [ ];
meta.maintainers = with maintainers; [ patryk27 ];
}

View File

@ -68,7 +68,7 @@ in
SUBSYSTEM=="misc", KERNEL=="vboxguest", TAG+="systemd"
'';
} (mkIf cfg.x11 {
services.xserver.videoDrivers = mkOverride 50 [ "vmware" "virtualbox" "modesetting" ];
services.xserver.videoDrivers = [ "vmware" "virtualbox" "modesetting" ];
services.xserver.config =
''

View File

@ -237,7 +237,6 @@ in
jibri = handleTest ./jibri.nix {};
jirafeau = handleTest ./jirafeau.nix {};
jitsi-meet = handleTest ./jitsi-meet.nix {};
k3s = handleTest ./k3s.nix {};
k3s-single-node = handleTest ./k3s-single-node.nix {};
k3s-single-node-docker = handleTest ./k3s-single-node-docker.nix {};
kafka = handleTest ./kafka.nix {};

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "sidplayfp";
version = "2.2.2";
version = "2.2.3";
src = fetchFromGitHub {
owner = "libsidplayfp";
repo = "sidplayfp";
rev = "v${version}";
sha256 = "sha256-DBZZf3A0AYkeQxQvHGyHHbsQ2EDuxsZnZPbxkWTNcHA=";
sha256 = "sha256-R60Dh19GYM157ysmN8EOJ47eO8a7sdkEEF1TObG1xzk=";
};
nativeBuildInputs = [ autoreconfHook perl pkg-config ];

View File

@ -8,7 +8,7 @@
let
pname = "trezor-suite";
version = "21.12.2";
version = "22.1.1";
name = "${pname}-${version}";
suffix = {
@ -19,8 +19,8 @@ let
src = fetchurl {
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
sha512 = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
aarch64-linux = "sha512-LzcTFSNN/loYaTDt+QpW8QpSgOTw2097IYdc7mC57Mn4NR/X2hycYZ9ZfZjBh9QFfVu/4R3UN2sA177v6Inomg==";
x86_64-linux = "sha512-W/voBZrXaJVDN4eSUDD6lyBR9BqboD2k2/azI1pWm1NFUmDZFM+OGzyiPB3n+6SziAhca32Ot5Wy27sfmIjh3g==";
aarch64-linux = "sha512-hRPwhKdAqiHmsaIuNm5r3ZuKhUh+IipR5/5N/9PwiLEfaSQRWink0dUwyuUoWzy4DyGabLQyIWbQRvR7eRGKJA==";
x86_64-linux = "sha512-W4S7W4TeDtSwWCj6N6EoJJOCYG3m1pK3D+UPlsp7B7VY/0uBtI31+tS28E6TUgXZUttr8IIbqzJYWCuyLfDthQ==";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};

View File

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
CFLAGS = "-D_DARWIN_C_SOURCE";
makeFlags = [ "DESTDIR=$(out)" ];
buildInputs = [ libX11 libXi libXt libXft ];
# build fails when run in parallel
enableParallelBuilding = false;
postInstall = ''
mkdir -p $out/share/applications

View File

@ -1,9 +1,8 @@
{ lib, buildGoPackage, fetchFromGitHub, runtimeShell }:
{ lib, buildGoModule, fetchFromGitHub, runtimeShell }:
buildGoPackage rec {
buildGoModule rec {
pname = "hivemind";
version = "1.0.6";
goPackagePath = "github.com/DarthSim/hivemind";
version = "1.1.0";
postPatch = ''
substituteInPlace process.go --replace \"/bin/sh\" \"${runtimeShell}\"
@ -13,8 +12,9 @@ buildGoPackage rec {
owner = "DarthSim";
repo = "hivemind";
rev = "v${version}";
sha256 = "0afcnd03wsdphbbpha65rv5pnv0x6ldnnm6rnv1m6xkkywgnzx95";
sha256 = "YUR9OwRuH1xSPs8iTsSIjLCt2TyYH357IAYULGTyYUc=";
};
vendorSha256 = "KweFhT8Zueg45Q/vw3kNET35hB+0WbUPfz0FYaAiIA8=";
meta = with lib; {
homepage = "https://github.com/DarthSim/";

View File

@ -15,7 +15,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "numberstation";
version = "1.0.1";
version = "1.1.0";
format = "other";
@ -23,7 +23,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "~martijnbraam";
repo = "numberstation";
rev = version;
sha256 = "sha256-8q5cEpQRnevY98PKaTUW10bqRAr5NVG/rU24+nx27rw=";
hash = "sha256-A6qwsbeNZXfSOZwHp19/4JQ8dZgjsK7Y2zho6vJXsGA=";
};
postPatch = ''

View File

@ -31,11 +31,11 @@ let
in stdenv.mkDerivation rec {
pname = "obsidian";
version = "0.13.19";
version = "0.13.23";
src = fetchurl {
url = "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.tar.gz";
sha256 = "1jx1raynr0dgffqwya7cp4yr3szdn9bfwrhzk09bkmn8ys7d426r";
sha256 = "1chxf6vrybjvc64k66a3l5xvv6iv6w8b03pdcrc0pr0nnlwkcf8c";
};
nativeBuildInputs = [ makeWrapper graphicsmagick ];

View File

@ -93,11 +93,11 @@ in
stdenv.mkDerivation rec {
pname = "brave";
version = "1.34.81";
version = "1.35.100";
src = fetchurl {
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
sha256 = "bMNk1l3MguQho0vck78U1e3A+/571DyoWSKKerQVE7s=";
sha256 = "ToPh2uhWHMR6CS7wtos26iVuyKLXi3ctOP/dFyeosoM=";
};
dontConfigure = true;

View File

@ -182,8 +182,8 @@ in stdenv.mkDerivation {
in with lib; ''
mkdir -p "$out/bin"
eval makeWrapper "${browserBinary}" "$out/bin/chromium" \
--add-flags ${escapeShellArg (escapeShellArg commandLineArgs)} \
makeWrapper "${browserBinary}" "$out/bin/chromium" \
--add-flags ${escapeShellArg commandLineArgs} \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
ed -v -s "$out/bin/chromium" << EOF

View File

@ -4,16 +4,16 @@ let isCrossBuild = stdenv.hostPlatform != stdenv.buildPlatform;
in
buildGoModule rec {
pname = "stern";
version = "1.20.1";
version = "1.21.0";
src = fetchFromGitHub {
owner = "stern";
repo = "stern";
rev = "v${version}";
sha256 = "sha256-JredVk2hjnhoaJ9bT7D5k35skBNjcEBLa6GgO8dB2+U=";
sha256 = "sha256-+V0mRSjAwhZoiIS/OpZyqa5rvlqU9pGJwmW0QZ3H2g4=";
};
vendorSha256 = "sha256-GMAYu/BCmDrCUfc0x9TVw6HXJu+eE8eigZoPqPodM3Q=";
vendorSha256 = "sha256-IPHu23/2e6406FELB1Mwegp0C16cFD65mbW5Ah32D4Q=";
subPackages = [ "." ];

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "terragrunt";
version = "0.36.0";
version = "0.36.1";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-HUhV6FcLd75ZOPKw9Fl+7KUsSVG7HpQ6X2JZo9C9eeA=";
sha256 = "sha256-aGVhxyPm5GtYjJlFNiPNxkPtdGdOiYOSkRRTlzyF/lM=";
};
vendorSha256 = "sha256-tNgEepKqwiqXhmoRCIEg7VJw7Y0TGt+R+6dZzd8aECg=";

View File

@ -11,6 +11,7 @@
, evolution-data-server
, feedbackd
, glibmm
, gnome
, gspell
, gtk3
, json-glib
@ -27,14 +28,15 @@
stdenv.mkDerivation rec {
pname = "chatty";
version = "0.4.0";
version = "0.6.0";
src = fetchFromGitLab {
domain = "source.puri.sm";
owner = "Librem5";
repo = "chatty";
rev = "v${version}";
sha256 = "12k1a5xrwd6zk4x0m53hbzggk695z3bpbzy1wcikzy0jvch7h13d";
fetchSubmodules = true;
hash = "sha256-8haVzRfAZwdTlYu7oKeu8E3uEH87yrHS4j+BWFQ/Nj0=";
};
postPatch = ''
@ -55,6 +57,7 @@ stdenv.mkDerivation rec {
evolution-data-server
feedbackd
glibmm
gnome.gnome-desktop
gspell
gtk3
json-glib

View File

@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ libtool automake autoconf flex ];
buildInputs = [ xorgproto motif libX11 libXt libXpm bison ];
# Disable parallel build, errors:
# ./pat_decl_y.y:736:5: error: expected '=', ...
enableParallelBuilding = false;
ALLIANCE_TOP = placeholder "out";
configureFlags = [

View File

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "lean";
version = "3.38.0";
version = "3.39.0";
src = fetchFromGitHub {
owner = "leanprover-community";
@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
# from. this is then used to check whether an olean file should be
# rebuilt. don't use a tag as rev because this will get replaced into
# src/githash.h.in in preConfigure.
rev = "a8cf8a0c9ea19a633baeb3aa7e8d706b86c2c0f9";
sha256 = "14dam91pnn266fgii5c2j5p9p2i31bghx0s2h3qnnqyvxi4s5isx";
rev = "85c581588857624e9cd562aaa0301a951c497833";
sha256 = "1v9rqvpgm2hw0mvsg1arp7xp4r9h9p286364hn3if55pg3h8bjzn";
};
nativeBuildInputs = [ cmake ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "vowpal-wabbit";
version = "8.11.0";
version = "9.0.1";
src = fetchFromGitHub {
owner = "VowpalWabbit";
repo = "vowpal_wabbit";
rev = version;
sha256 = "sha256-F3la4n1ULMN2nktr+PVWFPl3V2RfCowR0ozL+dnbhgA=";
sha256 = "sha256-ZUurY2bmTKKIW4GR4oiIpLxb6DSRUNJI/EyNSOu9D9c=";
};
nativeBuildInputs = [ cmake ];

View File

@ -1,39 +0,0 @@
diff --git a/src/doc/en/prep/Advanced-2DPlotting.rst b/src/doc/en/prep/Advanced-2DPlotting.rst
index 337457afef..f7c76f4b56 100644
--- a/src/doc/en/prep/Advanced-2DPlotting.rst
+++ b/src/doc/en/prep/Advanced-2DPlotting.rst
@@ -695,6 +695,8 @@ by the cells.
sage: pdf_savename = name+'.pdf'
sage: p.save(pdf_savename)
+ ...
+ DeprecationWarning: The py23 module has been deprecated and will be removed in a future release. Please update your code.
Notably, we can export in formats ready for inclusion in web pages.
diff --git a/src/sage/plot/disk.py b/src/sage/plot/disk.py
index 8680a1c9b1..e83763b678 100644
--- a/src/sage/plot/disk.py
+++ b/src/sage/plot/disk.py
@@ -156,6 +156,8 @@ class Disk(GraphicPrimitive):
sage: f = tmp_filename(ext='.pdf')
sage: p = disk((0,0), 5, (0, pi/4), alpha=0.5)
sage: p.save(f)
+ ...
+ DeprecationWarning: The py23 module has been deprecated and will be removed in a future release. Please update your code.
"""
import matplotlib.patches as patches
diff --git a/src/sage/plot/text.py b/src/sage/plot/text.py
index 04cbdedf76..a970f97b79 100644
--- a/src/sage/plot/text.py
+++ b/src/sage/plot/text.py
@@ -325,6 +325,8 @@ def text(string, xy, **options):
You can save text as part of PDF output::
sage: text("sage", (0,0), rgbcolor=(0,0,0)).save(os.path.join(SAGE_TMP, 'a.pdf'))
+ ...
+ DeprecationWarning: The py23 module has been deprecated and will be removed in a future release. Please update your code.
Some examples of bounding box::

View File

@ -114,14 +114,6 @@ stdenv.mkDerivation rec {
# strictly necessary, but keeps us from littering in the user's HOME.
./patches/sympow-cache.patch
# fonttools 4.26.2, used by matplotlib, uses deprecated methods internally.
# This is fixed in fonttools 4.27.0, but since fonttools is a dependency of
# 2000+ packages and DeprecationWarnings are hidden almost everywhere by
# default (not on Sage's doctest harness, though), it doesn't make sense to
# backport the fix (see https://github.com/NixOS/nixpkgs/pull/151415).
# Let's just assume warnings are expected until we update to 4.27.0.
./patches/fonttools-deprecation-warnings.patch
# https://trac.sagemath.org/ticket/32968
(fetchSageDiff {
base = "9.5.beta8";

View File

@ -12,13 +12,13 @@
python3Packages.buildPythonApplication rec {
pname = "stgit";
version = "1.4";
version = "1.5";
src = fetchFromGitHub {
owner = "stacked-git";
repo = "stgit";
rev = "v${version}";
sha256 = "0yx81d61kp33h7n0c14wvcrh8vvjjjq4xjh1qwq2sdbmqc43p3hg";
sha256 = "sha256-TsJr2Riygz/DZrn6UZMPvq1tTfvl3dFEZZNq2wVj1Nw=";
};
nativeBuildInputs = [ installShellFiles asciidoc xmlto docbook_xsl docbook_xml_dtd_45 ];

View File

@ -243,13 +243,7 @@ stdenv.mkDerivation rec {
# Add a qemu-kvm wrapper for compatibility/convenience.
postInstall = ''
install -m755 -D $emitKvmWarningsPath $out/libexec/emit-kvm-warnings
if [ -x $out/bin/qemu-system-${stdenv.hostPlatform.qemuArch} ]; then
makeWrapper $out/bin/qemu-system-${stdenv.hostPlatform.qemuArch} \
$out/bin/qemu-kvm \
--run $out/libexec/emit-kvm-warnings \
--add-flags "\$([ -r /dev/kvm -a -w /dev/kvm ] && echo -enable-kvm)"
fi
ln -s $out/bin/qemu-system-${stdenv.hostPlatform.qemuArch} $out/bin/qemu-kvm
'';
passthru = {
@ -259,26 +253,6 @@ stdenv.mkDerivation rec {
# Builds in ~3h with 2 cores, and ~20m with a big-parallel builder.
requiredSystemFeatures = [ "big-parallel" ];
emitKvmWarnings = ''
#!${runtimeShell}
WARNCOL='\033[1;35m'
NEUTRALCOL='\033[0m'
WARNING="''${WARNCOL}warning:''${NEUTRALCOL}"
if [ ! -e /dev/kvm ]; then
echo -e "''${WARNING} KVM is not available - execution will be slow" >&2
echo "Consider installing KVM for hardware-accelerated execution." >&2
echo "If KVM is already installed make sure the kernel module is loaded." >&2
elif [ ! -r /dev/kvm -o ! -w /dev/kvm ]; then
echo -e "''${WARNING} /dev/kvm is not read-/writable - execution will be slow" >&2
echo "/dev/kvm needs to be read-/writable by the user executing QEMU." >&2
echo "" >&2
echo "For hardware-acceleration inside the nix build sandbox /dev/kvm" >&2
echo "must be world-read-/writable (rw-rw-rw-)." >&2
fi
'';
passAsFile = [ "emitKvmWarnings" ];
meta = with lib; {
homepage = "http://www.qemu.org/";
description = "A generic and open source machine emulator and virtualizer";

View File

@ -9,6 +9,8 @@
, openssl
, ethtool
, lm_sensors
, iw
, iproute2
}:
rustPlatform.buildRustPackage rec {
@ -45,7 +47,7 @@ rustPlatform.buildRustPackage rec {
'';
postFixup = ''
wrapProgram $out/bin/i3status-rs --prefix PATH : "${ethtool}/bin"
wrapProgram $out/bin/i3status-rs --prefix PATH : ${lib.makeBinPath [ iproute2 ethtool iw ]}
'';
# Currently no tests are implemented, so we avoid building the package twice

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "marwaita";
version = "12.0";
version = "12.1";
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
rev = version;
sha256 = "10mf1cbm6a9k0b1vcafy3jb7kicpvnf6xqmn1dfxwsq3k81mmy7d";
sha256 = "04im7va5xpi17yjkrc46m5bm9j55qq66br1xg8a2arm0j4i0bqsk";
};
buildInputs = [

View File

@ -46,6 +46,8 @@ in stdenv.mkDerivation rec {
bison ncompress gawk autoPatchelfHook makeWrapper fakeroot
rpcsvc-proto
];
# build fails otherwise
enableParallelBuilding = false;
makeFlags = [
"World"

View File

@ -32,13 +32,13 @@
stdenv.mkDerivation rec {
pname = "elementary-photos";
version = "2.7.3";
version = "2.7.4";
src = fetchFromGitHub {
owner = "elementary";
repo = "photos";
rev = version;
sha256 = "sha256-ja4ElW0FNm9oNyn+00SdI2Cxep6LyWTYM8Blc6bnuiY=";
sha256 = "sha256-NhF/WgS6IOwgALSCNyFNxz8ROVTb+mUX+lBtnWEyhEI=";
};
nativeBuildInputs = [

View File

@ -40,21 +40,22 @@ stdenv.mkDerivation rec {
wrapGAppsHook
];
buildInputs = with gst_all_1; [
buildInputs = [
clutter-gst
clutter-gtk
elementary-icon-theme
granite
gtk3
libgee
libhandy
] ++ (with gst_all_1; [
gst-libav
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gstreamer
gtk3
libgee
libhandy
];
]);
postPatch = ''
chmod +x meson/post_install.py

View File

@ -161,7 +161,9 @@ lib.makeScope pkgs.newScope (self: with self; {
wingpanel-indicator-notifications = callPackage ./desktop/wingpanel-indicators/notifications { };
wingpanel-indicator-power = callPackage ./desktop/wingpanel-indicators/power { };
wingpanel-indicator-power = callPackage ./desktop/wingpanel-indicators/power {
inherit (gnome) gnome-power-manager;
};
wingpanel-indicator-session = callPackage ./desktop/wingpanel-indicators/session { };
@ -232,18 +234,20 @@ lib.makeScope pkgs.newScope (self: with self; {
# Please call these packages in pkgs/top-level/all-packages.nix instead of this file.
# https://github.com/NixOS/nixpkgs/issues/115222#issuecomment-906868654
} // lib.optionalAttrs (config.allowAliases or true) {
}) // lib.optionalAttrs (config.allowAliases or true) {
### ALIASES
inherit (pkgs) vala; # added 2019-10-10
# They need to be outside the scope or they will shadow the attributes from parent scope.
cerbere = throw "Cerbere is now obsolete https://github.com/elementary/cerbere/releases/tag/2.5.1.";
vala = throw "The pantheon.vala alias was removed on 2022-02-02, please use pkgs.vala directly."; # added 2019-10-10
elementary-screenshot-tool = elementary-screenshot; # added 2021-07-21
cerbere = throw "Cerbere is now obsolete https://github.com/elementary/cerbere/releases/tag/2.5.1."; # added 2020-04-06
elementary-screenshot-tool = throw "The pantheon.elementary-screenshot-tool alias was removed on 2022-02-02, please use pantheon.elementary-screenshot directly."; # added 2021-07-21
extra-elementary-contracts = throw "extra-elementary-contracts has been removed as all contracts have been upstreamed."; # added 2021-12-01
inherit (pkgs) notes-up; # added 2021-12-18
notes-up = throw "The pantheon.notes-up alias was removed on 2022-02-02, please use pkgs.notes-up directly."; # added 2021-12-18
})
}

View File

@ -3,7 +3,7 @@
, fetchFromGitHub
, substituteAll
, nix-update-script
, gnome
, gnome-power-manager
, pkg-config
, meson
, python3
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
src = ./fix-paths.patch;
gnome_power_manager = gnome.gnome-power-manager;
gnome_power_manager = gnome-power-manager;
})
];

View File

@ -36,6 +36,10 @@ stdenv.mkDerivation rec {
buildInputs = [ gmp ];
# Disable parallel build, errors:
# *** No rule to make target 'patscc.dats', needed by 'patscc_dats.c'. Stop.
enableParallelBuilding = false;
setupHook = with lib;
let
hookFiles =

View File

@ -32,9 +32,11 @@ let
x86_64-linux = "linux-x86_64";
i686-linux = "linux-i686";
x86_64-darwin = "darwin-x86_64";
aarch64-darwin = "darwin-universal";
};
arch = archs.${stdenv.system} or (throw "system ${stdenv.system} not supported");
isAarch64Darwin = stdenv.system == "aarch64-darwin";
checkInputs = [ git gmp openssl readline libxml2 libyaml ];
@ -53,6 +55,8 @@ let
tar --strip-components=1 -C $out -xf ${src}
patchShebangs $out/bin/crystal
'';
meta.broken = lib.versionOlder version "1.2.0" && isAarch64Darwin;
};
commonBuildInputs = extraBuildInputs: [
@ -206,7 +210,8 @@ let
homepage = "https://crystal-lang.org/";
license = licenses.asl20;
maintainers = with maintainers; [ david50407 fabianhjr manveru peterhoeg ];
platforms = builtins.attrNames archs;
platforms = let archNames = builtins.attrNames archs; in
if (lib.versionOlder version "1.2.0") then remove "aarch64-darwin" archNames else archNames;
broken = lib.versionOlder version "0.36.1" && stdenv.isDarwin;
};
})
@ -223,6 +228,13 @@ rec {
};
};
binaryCrystal_1_2 = genericBinary {
version = "1.2.0";
sha256s = {
aarch64-darwin = "1hrs8cpjxdkcf8mr9qgzilwbg6bakq87sd4yydfsk2f4pqd6g7nf";
};
};
crystal_1_0 = generic {
version = "1.0.0";
sha256 = "sha256-RI+a3w6Rr+uc5jRf7xw0tOenR+q6qii/ewWfID6dbQ8=";
@ -238,10 +250,8 @@ rec {
crystal_1_2 = generic {
version = "1.2.2";
sha256 = "sha256-nyOXhsutVBRdtJlJHe2dALl//BUXD1JeeQPgHU4SwiU=";
binary = crystal_1_1;
binary = if isAarch64Darwin then binaryCrystal_1_2 else crystal_1_1;
};
crystal = crystal_1_2;
crystal2nix = callPackage ./crystal2nix.nix { };
}

View File

@ -45,6 +45,10 @@ stdenv.mkDerivation rec {
]
++ lib.optionals withQt [ libqt5pas qtbase ];
# Disable parallel build, errors:
# Fatal: (1018) Compilation aborted
enableParallelBuilding = false;
nativeBuildInputs = [
makeWrapper
] ++ lib.optional withQt wrapQtAppsHook;

View File

@ -21,6 +21,9 @@ stdenv.mkDerivation {
buildInputs = [mltonBootstrap gmp];
# build fails otherwise
enableParallelBuilding = false;
preBuild = ''
find . -type f | grep -v -e '\.tgz''$' | xargs sed -i "s@/usr/bin/env bash@$(type -p bash)@"
sed -i "s|/tmp|$TMPDIR|" bin/regression

View File

@ -595,17 +595,7 @@ self: super: builtins.intersectAttrs super {
sha256 = "1hjdprm990vyxz86fgq14ajn0lkams7i00h8k2i2g1a0hjdwppq6";
};
spagoWithPatches = appendPatch (
# Spago needs a small patch to work with versions-5.0.0:
# https://github.com/purescript/spago/pull/798
# This can probably be removed with >spago-0.20.3.
pkgs.fetchpatch {
url = "https://github.com/purescript/spago/commit/dd4bf4413d9675c1c8065d24d0ed7b345c7fa5dd.patch";
sha256 = "1i1r3f4n9mlkckx15bfrdy5m7gjf0zx7ycwyqra6qn34zpcbzpmf";
}
) super.spago;
spagoWithOverrides = spagoWithPatches.override {
spagoWithOverrides = super.spago.override {
# spago has not yet been updated for the latest dhall.
dhall = self.dhall_1_38_1;
};

View File

@ -10,13 +10,10 @@ stdenv.mkDerivation rec {
sha256 = "1c1n8n7mp0amsd6vkz32n8zj3vnsckv308bb7na0dg0r8969rap1";
};
postPatch = ''
substituteInPlace Makefile \
--replace "gcc" "${stdenv.cc.targetPrefix}cc" \
--replace "ar" "${stdenv.cc.targetPrefix}ar"
'';
makeFlags = [ "INSTALLPREFIX=$(out)" ];
makeFlags = [
"INSTALLPREFIX=$(out)"
"CC:=$(CC)"
];
postFixup = ''
chmod +x $out/lib/*

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libxc";
version = "5.2.0";
version = "5.2.2";
src = fetchFromGitLab {
owner = "libxc";
repo = "libxc";
rev = version;
sha256 = "1zfhfiwk8cnfbmkagaia4xhsc133icl1pryzync28kzsjxzlwfzc";
sha256 = "113sk7hxjpfbz3nrgjsc7bi6zrlwb3qq5s6h0zh37hz9bd1brq54";
};
nativeBuildInputs = [ perl cmake gfortran ];

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "rocksdb";
version = "6.27.3";
version = "6.28.2";
src = fetchFromGitHub {
owner = "facebook";
repo = pname;
rev = "v${version}";
sha256 = "sha256-s3vBW/vN6lUvOp3vlx/Wo2ZrzobZ2s8MHujFouSU2NM=";
sha256 = "sha256-0T/ANHTRzk0ymezRQbvJt6aL350Z004gcj4JapAyAnQ=";
};
nativeBuildInputs = [ cmake ninja ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "sentry-native";
version = "0.4.13";
version = "0.4.14";
src = fetchFromGitHub {
owner = "getsentry";
repo = "sentry-native";
rev = version;
sha256 = "sha256-btgv/GwwQhT/DtWhjM/g081UYLT7E76ZhqXZdMiIWsk=";
sha256 = "sha256-DMVMS7Mshglg7+QkHzZvmZ2dhEFbQRqcHU98JiaysCg=";
};
nativeBuildInputs = [ cmake ];

View File

@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [ ocaml findlib ];
# build fails otherwise
enableParallelBuilding = false;
configureFlags = "--libdir=$(OCAMLFIND_DESTDIR)";

View File

@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-webbrowser-${version}";
pname = "ocaml${ocaml.version}-webbrowser";
version = "0.6.1";
src = fetchurl {
url = "https://erratique.ch/software/webbrowser/releases/webbrowser-${version}.tbz";

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, portaudio, fftw, libsndfile, libsamplerate }:
stdenv.mkDerivation rec {
baseName = "audio";
pname = "pure-audio";
version = "0.6";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-audio-${version}.tar.gz";
sha256 = "c1f2a5da73983efb5a54f86d57ba93713ebed20ff0c72de9b3467f10f2904ee0";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, avahi }:
stdenv.mkDerivation rec {
baseName = "avahi";
pname = "pure-avahi";
version = "0.3";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-avahi-${version}.tar.gz";
sha256 = "5fac8a6e3a54e45648ceb207ee0061b22eac8c4e668b8d53f13eb338b09c9160";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "csv";
pname = "pure-csv";
version = "1.6";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-csv-${version}.tar.gz";
sha256 = "fe7c4edebe8208c54d5792a9eefaeb28c4a58b9094d161a6dda8126f0823ab3c";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "doc";
pname = "pure-doc";
version = "0.7";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-doc-${version}.tar.gz";
sha256 = "cfa880573941f37868269bcc443a09fecd2a141a78556383d2213f6c9f45ddd9";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, fcgi }:
stdenv.mkDerivation rec {
baseName = "fastcgi";
pname = "pure-fastcgi";
version = "0.6";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-fastcgi-${version}.tar.gz";
sha256 = "aa5789cc1e17521c01f349ee82ce2a00500e025b3f8494f89a7ebe165b5aabc7";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, faust, libtool }:
stdenv.mkDerivation rec {
baseName = "faust";
pname = "pure-faust";
version = "0.11";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-faust-${version}.tar.gz";
sha256 = "51278a3b0807c4770163dc2ce423507dcf0ffec9cd1c1fbc08426d07294f6ae0";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, libffi }:
stdenv.mkDerivation rec {
baseName = "ffi";
pname = "pure-ffi";
version = "0.14";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-ffi-${version}.tar.gz";
sha256 = "0331f48efaae40af21b23cf286fd7eac0ea0a249d08fd97bf23246929c0ea71a";
};

View File

@ -2,12 +2,11 @@
pkg-config, pure, haskellPackages }:
stdenv.mkDerivation rec {
baseName = "gen";
pname = "pure-gen";
version = "0.20";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gen-${version}.tar.gz";
sha256 = "cfadd99a378b296325937d2492347611cc1e1d9f24594f91f3c2293eca01a4a8";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, freeglut, libGLU, libGL, xlibsWrapper }:
stdenv.mkDerivation rec {
baseName = "gl";
pname = "pure-gl";
version = "0.9";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gl-${version}.tar.gz";
sha256 = "edd594222f89ae372067eda6679a37488986b9739b5b79b4a25ac48255d31bba";
};

View File

@ -2,12 +2,11 @@
pkg-config, pure, glpk, gmp, libtool, libmysqlclient, libiodbc }:
stdenv.mkDerivation rec {
baseName = "glpk";
pname = "pure-glpk";
version = "0.5";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-glpk-${version}.tar.gz";
sha256 = "5d6dc11706985dda02d96d481ea5f164c9e95ee446432fc4fc3d0db61a076346";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, gnuplot }:
stdenv.mkDerivation rec {
baseName = "gplot";
pname = "pure-gplot";
version = "0.1";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gplot-${version}.tar.gz";
sha256 = "841ded98e4d1cdfaf78f95481e5995d0440bfda2d5df533d6741a6e7058a882c";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pure, pkg-config, gsl }:
stdenv.mkDerivation rec {
baseName = "gsl";
pname = "pure-gsl";
version = "0.12";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gsl-${version}.tar.gz";
sha256 = "06bdd873d5417d90ca35093056a060b77365123ed24c3ac583cd3922d4c78a75";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, pure-ffi, gtk2 }:
stdenv.mkDerivation rec {
baseName = "gtk";
pname = "pure-gtk";
version = "0.13";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-gtk-${version}.tar.gz";
sha256 = "e659ff1bc5809ce35b810f8ac3fb7e8cadaaef13996537d8632e2f86ed76d203";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, liblo }:
stdenv.mkDerivation rec {
baseName = "liblo";
pname = "pure-liblo";
version = "0.9";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-liblo-${version}.tar.gz";
sha256 = "c2ba4d6f94489acf8a8fac73982ae03d5ad4113146eb1f7d6558a956c57cb8ee";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, lilv, lv2, serd, sord, sratom }:
stdenv.mkDerivation rec {
baseName = "lilv";
pname = "pure-lilv";
version = "0.4";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-lilv-${version}.tar.gz";
sha256 = "af20982fe43e8dce62d50bf7a78e461ab36c308325b123cddbababf0d3beaf9f";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, lv2 }:
stdenv.mkDerivation rec {
baseName = "lv2";
pname = "pure-lv2";
version = "0.2";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-lv2-${version}.tar.gz";
sha256 = "721cacd831781d8309e7ecabb0ee7c01da17e75c5642a5627cf158bfb36093e1";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, portmidi }:
stdenv.mkDerivation rec {
baseName = "midi";
pname = "pure-midi";
version = "0.6";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-midi-${version}.tar.gz";
sha256 = "817ae9fa5f443a8c478a6770f36091e3cf99f3515c74e00d09ca958dead1e7eb";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "mpfr";
pname = "pure-mpfr";
version = "0.5";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-mpfr-${version}.tar.gz";
sha256 = "39d2255c2c0c2d60ce727be178b5e5a06f7c92eb365976c49c4a34b1edc576e7";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, octave }:
stdenv.mkDerivation rec {
baseName = "octave";
pname = "pure-octave";
version = "0.9";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-octave-${version}.tar.gz";
sha256 = "0l1mvmi3rpabzjcrk6p04rdn922mvdm9x67zby3dha5iiccc47q0";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, libiodbc }:
stdenv.mkDerivation rec {
baseName = "odbc";
pname = "pure-odbc";
version = "0.10";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-odbc-${version}.tar.gz";
sha256 = "1907e9ebca11cc68762cf7046084b31e9e2bf056df85c40ccbcbe9f02221ff8d";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, pandoc, gawk, getopt }:
stdenv.mkDerivation rec {
baseName = "pandoc";
pname = "pure-pandoc";
version = "0.1";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-pandoc-${version}.tar.gz";
sha256 = "0f23a17549048ca3a8f4936ea9e931feb05997390b486850936b746996350cda";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "rational";
pname = "pure-rational";
version = "0.1";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-rational-${version}.tar.gz";
sha256 = "62cb4079a0dadd232a859e577e97e50e9718ccfcc5983c4d9c4c32cac7a9bafa";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, readline }:
stdenv.mkDerivation rec {
baseName = "readline";
pname = "pure-readline";
version = "0.3";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-readline-${version}.tar.gz";
sha256 = "db8e6663b1c085466c09662fe86d952b6f4ffdafeecffe805c681ab91c910886";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "sockets";
pname = "pure-sockets";
version = "0.7";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-sockets-${version}.tar.gz";
sha256 = "4f2769618ae5818cf6005bb08bcf02fe359a2e31998d12dc0c72f0494e9c0420";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, sqlite }:
stdenv.mkDerivation rec {
baseName = "sql3";
pname = "pure-sql3";
version = "0.5";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-sql3-${version}.tar.gz";
sha256 = "b9f79dd443c8ffc5cede51e2af617f24726f5c0409aab4948c9847e6adb53c37";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "stldict";
pname = "pure-stldict";
version = "0.8";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-stldict-${version}.tar.gz";
sha256 = "5b894ae6dc574c7022258e2732bea649c82c959ec4d0be13fb5a3e8ba8488f28";
};

View File

@ -1,9 +1,8 @@
{ lib, stdenv, fetchurl, pkg-config, pure }:
stdenv.mkDerivation rec {
baseName = "stllib";
pname = "pure-stllib";
version = "0.6";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-stllib-${version}.tar.gz";

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, tcl, tk, xlibsWrapper }:
stdenv.mkDerivation rec {
baseName = "tk";
pname = "pure-tk";
version = "0.5";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-tk-${version}.tar.gz";
sha256 = "3b6e97e2d723d5a05bf25f4ac62068ac17a1fd81db03e1986366097bf071a516";
};

View File

@ -1,12 +1,11 @@
{ lib, stdenv, fetchurl, pkg-config, pure, libxml2, libxslt }:
stdenv.mkDerivation rec {
baseName = "xml";
pname = "pure-xml";
version = "0.7";
name = "pure-${baseName}-${version}";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-xml-${version}.tar.gz";
sha256 = "e862dec060917a285bc3befc90f4eb70b6cc33136fb524ad3aa173714a35b0f7";
};

View File

@ -0,0 +1,43 @@
{ lib
, aiohttp
, bleak
, buildPythonPackage
, fetchFromGitHub
, async-timeout
, pythonOlder
}:
buildPythonPackage rec {
pname = "adax-local";
version = "0.1.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyAdaxLocal";
rev = version;
hash = "sha256-SGVXzSjtYNRVJN5fUjjskko55/e0L3P8aB90G4HuBOE=";
};
propagatedBuildInputs = [
aiohttp
bleak
async-timeout
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"adax_local"
];
meta = with lib; {
description = "Module for local access to Adax";
homepage = "https://github.com/Danielhiversen/pyAdaxLocal";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,39 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioaseko";
version = "0.0.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "milanmeu";
repo = pname;
rev = "v${version}";
hash = "sha256-dfU2J4aDKNR+GoEmdq/NhX4Mrmm9tmCkse1tb+V5EFQ=";
};
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aioaseko"
];
meta = with lib; {
description = "Module to interact with the Aseko Pool Live API";
homepage = "https://github.com/milanmeu/aioaseko";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3,6 +3,7 @@
, dnspython
, fetchFromGitHub
, ifaddr
, netifaces
, pyroute2
, pytest-asyncio
, pytestCheckHook
@ -11,18 +12,21 @@
buildPythonPackage rec {
pname = "aiodiscover";
version = "1.4.5";
version = "1.4.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = "v${version}";
sha256 = "sha256-QfeAEFB5WikuriBTcfFIgnJw5H4vEcGIVX47fyDb1Dk=";
sha256 = "sha256-NtiShZpPFl+elYNPLaKAg6uV8pDJv0pyR+NTUiFoMm0=";
};
propagatedBuildInputs = [
dnspython
netifaces
pyroute2
ifaddr
];
@ -43,7 +47,9 @@ buildPythonPackage rec {
"test_async_discover_hosts"
];
pythonImportsCheck = ["aiodiscover"];
pythonImportsCheck = [
"aiodiscover"
];
meta = with lib; {
description = "Python module to discover hosts via ARP and PTR lookup";

View File

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "aiohue";
version = "3.0.11";
version = "4.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-McC5DX3Cti9eGpPniywNY2DvbAqHSFwhek85TJN/zn0=";
sha256 = "sha256-wPqEubd+vUpdj7tM0CTPkW5kV4qlF19T+djlGrtA5h8=";
};
propagatedBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "aiohwenergy";
version = "0.7.0";
version = "0.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "DCSBL";
repo = pname;
rev = version;
sha256 = "0pgk9ky4kfb1kp0mpyxdinwql1q85a3bl5w34pr88wqdqdw467ms";
sha256 = "sha256-WfkwIxyDzLNzhWNWST/V3iN9Bhu2oXDwGiA5UXCq5ho=";
};
propagatedBuildInputs = [

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "aiolookin";
version = "0.0.4";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "ANMalko";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Kqys76c/9Mw3ETgF0N4rA9mz5DELwTMjAK38PPN8Ahs=";
sha256 = "sha256-l3A1fOydAUQ4arR7Zl/PDYksp53C/56fVVcz35q1hjY=";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,44 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiooncue";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bdraco";
repo = pname;
rev = version;
hash = "sha256-6GnXuYpggUMisfeOnl52xvWFIZRV+oCwsFKAjPwscTU=";
};
propagatedBuildInputs = [
aiohttp
];
# Module doesn't have tests
doCheck = false;
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner",' ""
'';
pythonImportsCheck = [
"aiooncue"
];
meta = with lib; {
description = "Module to interact with the Kohler Oncue API";
homepage = "https://github.com/bdraco/aiooncue";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, websockets
}:
buildPythonPackage rec {
pname = "aiowebostv";
version = "0.1.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = "v${version}";
hash = "sha256-YSrttPoU5XQ9tqNxhHBUqZqKaEZdUdYYJ2CsSREVbbg=";
};
propagatedBuildInputs = [
websockets
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"aiowebostv"
];
meta = with lib; {
description = "Module to interact with LG webOS based TV devices";
homepage = "https://github.com/home-assistant-libs/aiowebostv";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "async-upnp-client";
version = "0.23.1";
version = "0.23.4";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "StevenLooman";
repo = "async_upnp_client";
rev = version;
sha256 = "sha256-m8oTqGbsJ99ImtnSlL4LX1qR0bUhGtVPPWmjsZfV6sE=";
sha256 = "sha256-FrH5PwNpXZpNk7mUnMBGA9MQUPBqBEOoMd9T5ond2WA=";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitLab
, future
, pyserial
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aurorapy";
version = "0.2.6";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
owner = "energievalsabbia";
repo = pname;
rev = version;
hash = "sha256-DMlzzLe94dbeHjESmLc045v7vQ//IEsngAv7TeVznHE=";
};
propagatedBuildInputs = [
future
pyserial
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aurorapy"
];
meta = with lib; {
description = "Implementation of the communication protocol for Power-One Aurora inverters";
homepage = "https://gitlab.com/energievalsabbia/aurorapy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "awesomeversion";
version = "21.11.0";
version = "22.1.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "ludeeus";
repo = pname;
rev = version;
sha256 = "sha256-qxN5AdLlzadG0/raeAyJ/37PLgYLndl1JQSVkgdLv/4=";
sha256 = "sha256-eoY920c8mgunvZd0M/vR7+bMCPFqqCm3F/fq0vo6K/0=";
};
postPatch = ''

View File

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "awscrt";
version = "0.13.0";
version = "0.13.1";
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
@ -22,7 +22,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "f8c46335bdf94a5e48d3df2018edbd07c4c903635501c62c1bea4153f407531a";
sha256 = "sha256-1Qx3fcZ0I9RONLpFPDyXHkUEAF09KBgXV64NvepmDm8=";
};
meta = with lib; {

View File

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "azure-batch";
version = "11.0.0";
version = "12.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "ce5fdb0ec962eddfe85cd82205e9177cb0bbdb445265746e38b3bbbf1f16dc73";
sha256 = "sha256-GpseF4mEp79JWvZ7zOUfDbHkqKlXr7KeM1VKFKlnTes=";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "circuit-webhook";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-NhePKBfzdkw7iVHmVrOxf8ZcQrb1Sq2xMIfu4P9+Ppw=";
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"circuit_webhook"
];
meta = with lib; {
description = "Module for Unify Circuit API webhooks";
homepage = "https://github.com/braam/unify/tree/master/circuit-webhook-python";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "clickhouse-cli";
version = "0.3.7";
version = "0.3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-fDvUdL6LzgCv6LDmB0R0M7v6BbnbL68p9pHMebP58h8=";
sha256 = "sha256-pa3vkIyNblS1LOwBReTqg8JAR2Ii32a2QIHWjau0uZE=";
};
propagatedBuildInputs = [

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "deezer-python";
version = "5.0.1";
version = "5.1.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "browniebroke";
repo = pname;
rev = "v${version}";
sha256 = "sha256-dL1d1bF+hHIQrsyk6t1Afj22yNC/cIpuID5Ajgal5bA=";
sha256 = "sha256-hBZBbREPxfAkGf2KRZtO3BpscFGlYiecQjM5l1/Edo0=";
};
nativeBuildInputs = [

View File

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "django-classy-tags";
version = "3.0.0";
version = "3.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "2ef8b82b4f7d77d4fd152b25c45128d926e7a5840d862f2ecd3e5faf6acbe343";
sha256 = "sha256-0iK0VQKsmeVQpWZmeDnvrvlUucc2amST8UOGKqvqyHg=";
};
propagatedBuildInputs = [ django six ];

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dropbox";
version = "11.26.0";
version = "11.27.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "dropbox";
repo = "dropbox-sdk-python";
rev = "v${version}";
sha256 = "0ncx41jg2wbsklqkrh0zjwjs3kfkscz8d6gcbsxqa1qpa3pa5519";
sha256 = "sha256-atIrrK4BgTfu0UaHTqJ66AxEeSJLanrmYx8myrOCOfo=";
};
propagatedBuildInputs = [

View File

@ -1,58 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pbr
, calmjs-parse
, certifi
, chardet
, idna
, ply
, requests
, urllib3
, httpretty
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "eebrightbox";
version = "0.0.6";
src = fetchFromGitHub {
owner = "krygal";
repo = "eebrightbox";
rev = version;
sha256 = "1kms240g01871qbvyc5rzf86yxsrlnfvp323jh4k35fpf45z44rr";
};
postPatch = ''
substituteInPlace requirements.txt --replace "==" ">="
'';
nativeBuildInputs = [
pbr
];
PBR_VERSION = version;
propagatedBuildInputs = [
calmjs-parse
certifi
chardet
idna
ply
requests
urllib3
];
checkInputs = [
httpretty
pytestCheckHook
];
meta = with lib; {
description = "Connector for EE BrightBox routers";
homepage = "https://github.com/krygal/eebrightbox";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -6,13 +6,13 @@
buildPythonPackage rec {
pname = "emoji";
version = "1.6.2";
version = "1.6.3";
src = fetchFromGitHub {
owner = "carpedm20";
repo = pname;
rev = "v${version}";
sha256 = "1g927w9l3j5mycg6pqa4vjk2lyy35sppfp8pbzb6mvca500001rk";
sha256 = "sha256-0QOtsHGhqbjaEDpSbUXdE8+u6xzWbrTexx+BAeYwKa8=";
};
checkInputs = [

Some files were not shown because too many files have changed in this diff Show More