mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 20:20:26 +03:00
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
Conflicts: nixos/doc/manual/from_md/release-notes/rl-2205.section.xml nixos/doc/manual/release-notes/rl-2205.section.md
This commit is contained in:
commit
d77022e114
@ -252,6 +252,15 @@
|
|||||||
set <literal>autoSubUidGidRange = true</literal>.
|
set <literal>autoSubUidGidRange = true</literal>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<literal>idris2</literal> now requires
|
||||||
|
<literal>--package</literal> when using packages
|
||||||
|
<literal>contrib</literal> and <literal>network</literal>,
|
||||||
|
while previously these idris2 packages were automatically
|
||||||
|
loaded.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The iputils package, which is installed by default, no longer
|
The iputils package, which is installed by default, no longer
|
||||||
|
@ -83,6 +83,8 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||||||
|
|
||||||
- Normal users (with `isNormalUser = true`) which have non-empty `subUidRanges` or `subGidRanges` set no longer have additional implicit ranges allocated. To enable automatic allocation back set `autoSubUidGidRange = true`.
|
- Normal users (with `isNormalUser = true`) which have non-empty `subUidRanges` or `subGidRanges` set no longer have additional implicit ranges allocated. To enable automatic allocation back set `autoSubUidGidRange = true`.
|
||||||
|
|
||||||
|
- `idris2` now requires `--package` when using packages `contrib` and `network`, while previously these idris2 packages were automatically loaded.
|
||||||
|
|
||||||
- The iputils package, which is installed by default, no longer provides the
|
- The iputils package, which is installed by default, no longer provides the
|
||||||
legacy tools `tftpd` and `traceroute6`. More tools (`ninfod`, `rarpd`, and
|
legacy tools `tftpd` and `traceroute6`. More tools (`ninfod`, `rarpd`, and
|
||||||
`rdisc`) are going to be removed in the next release. See
|
`rdisc`) are going to be removed in the next release. See
|
||||||
|
@ -7,15 +7,16 @@ let
|
|||||||
|
|
||||||
# Convert systemd-style address specification to kresd config line(s).
|
# Convert systemd-style address specification to kresd config line(s).
|
||||||
# On Nix level we don't attempt to precisely validate the address specifications.
|
# On Nix level we don't attempt to precisely validate the address specifications.
|
||||||
|
# The optional IPv6 scope spec comes *after* port, perhaps surprisingly.
|
||||||
mkListen = kind: addr: let
|
mkListen = kind: addr: let
|
||||||
al_v4 = builtins.match "([0-9.]+):([0-9]+)" addr;
|
al_v4 = builtins.match "([0-9.]+):([0-9]+)()" addr;
|
||||||
al_v6 = builtins.match "\\[(.+)]:([0-9]+)" addr;
|
al_v6 = builtins.match "\\[(.+)]:([0-9]+)(%.*|$)" addr;
|
||||||
al_portOnly = builtins.match "([0-9]+)" addr;
|
al_portOnly = builtins.match "([0-9]+)" addr;
|
||||||
al = findFirst (a: a != null)
|
al = findFirst (a: a != null)
|
||||||
(throw "services.kresd.*: incorrect address specification '${addr}'")
|
(throw "services.kresd.*: incorrect address specification '${addr}'")
|
||||||
[ al_v4 al_v6 al_portOnly ];
|
[ al_v4 al_v6 al_portOnly ];
|
||||||
port = last al;
|
port = elemAt al 1;
|
||||||
addrSpec = if al_portOnly == null then "'${head al}'" else "{'::', '0.0.0.0'}";
|
addrSpec = if al_portOnly == null then "'${head al}${elemAt al 2}'" else "{'::', '0.0.0.0'}";
|
||||||
in # freebind is set for compatibility with earlier kresd services;
|
in # freebind is set for compatibility with earlier kresd services;
|
||||||
# it could be configurable, for example.
|
# it could be configurable, for example.
|
||||||
''
|
''
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
, gettext
|
, gettext
|
||||||
, ghostscript
|
, ghostscript
|
||||||
, glib
|
, glib
|
||||||
, glib-networking
|
|
||||||
, glibmm
|
, glibmm
|
||||||
, gsl
|
, gsl
|
||||||
, gspell
|
, gspell
|
||||||
@ -118,7 +117,6 @@ stdenv.mkDerivation rec {
|
|||||||
boost
|
boost
|
||||||
gettext
|
gettext
|
||||||
glib
|
glib
|
||||||
glib-networking
|
|
||||||
glibmm
|
glibmm
|
||||||
gsl
|
gsl
|
||||||
gtkmm3
|
gtkmm3
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "inherd-quake";
|
pname = "inherd-quake";
|
||||||
version = "0.3.0";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "phodal";
|
owner = "phodal";
|
||||||
repo = "quake";
|
repo = "quake";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1f7k68g18g3dpnrsmhgmz753bly1i3f4lmsljiyp9ap0c6w8ahgg";
|
sha256 = "UujcsvjbXda1DdV4hevUP4PbdbOKHQ3O/FBDlhAjfq0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "17q9sjypa331gdfvmx1kbcbvnj34rnsf37b9rnji4jrqfysgrs5w";
|
cargoSha256 = "HkdF7hLgThOWExociNgxvTxF4qL3F5CPK/j/ZKLg/m4=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -1,21 +1,18 @@
|
|||||||
{ lib, stdenv, fetchurl
|
{ dpkg, fetchurl, lib, stdenv }:
|
||||||
, dpkg
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "chromium-codecs-ffmpeg-extra";
|
pname = "chromium-codecs-ffmpeg-extra";
|
||||||
version = "94.0.4606.50";
|
version = "97.0.4692.56";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://launchpadlibrarian.net/558847674/${pname}_${version}-0ubuntu0.18.04.1_amd64.deb";
|
url = "https://launchpadlibrarian.net/574348729/${pname}_${version}-0ubuntu0.18.04.1_amd64.deb";
|
||||||
sha256 = "sha256-H7Tzd8tkaoLClXtNiwEO5nD4+PPt7Jgs+gtLiag/KN4=";
|
sha256 = "sha256-v5DHJxQjHjBeIS/psaM+LyUaHKlwzrKncLarErbUGVU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ dpkg ];
|
buildInputs = [ dpkg ];
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
dpkg-deb -x $src .
|
dpkg-deb -x $src .
|
||||||
find .
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -26,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Additional support for proprietary codecs for Vivaldi";
|
description = "Additional support for proprietary codecs for Vivaldi";
|
||||||
homepage = "https://ffmpeg.org/";
|
homepage = "https://ffmpeg.org/";
|
||||||
license = licenses.lgpl21;
|
license = licenses.lgpl21;
|
||||||
maintainers = with maintainers; [ betaboon lluchs ];
|
maintainers = with maintainers; [ betaboon cawilliamson lluchs ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,18 +7,22 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
dirname = "Isabelle${version}";
|
dirname = "Isabelle${version}";
|
||||||
|
|
||||||
src = if stdenv.isDarwin
|
src =
|
||||||
then fetchurl {
|
if stdenv.isDarwin
|
||||||
url = "https://isabelle.in.tum.de/website-${dirname}/dist/${dirname}_macos.tar.gz";
|
then
|
||||||
sha256 = "0n1ls9vwf0ps1x8zpb7c1xz1wkasgvc34h5bz280hy2z6iqwmwbc";
|
fetchurl
|
||||||
}
|
{
|
||||||
else fetchurl {
|
url = "https://isabelle.in.tum.de/website-${dirname}/dist/${dirname}_macos.tar.gz";
|
||||||
url = "https://isabelle.in.tum.de/website-${dirname}/dist/${dirname}_linux.tar.gz";
|
sha256 = "0n1ls9vwf0ps1x8zpb7c1xz1wkasgvc34h5bz280hy2z6iqwmwbc";
|
||||||
sha256 = "0jfaqckhg388jh9b4msrpkv6wrd6xzlw18m0bngbby8k8ywalp9i";
|
}
|
||||||
};
|
else
|
||||||
|
fetchurl {
|
||||||
|
url = "https://isabelle.in.tum.de/website-${dirname}/dist/${dirname}_linux.tar.gz";
|
||||||
|
sha256 = "0jfaqckhg388jh9b4msrpkv6wrd6xzlw18m0bngbby8k8ywalp9i";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ polyml z3 veriT vampire eprover-ho ]
|
buildInputs = [ polyml z3 veriT vampire eprover-ho ]
|
||||||
++ lib.optionals (!stdenv.isDarwin) [ nettools java ];
|
++ lib.optionals (!stdenv.isDarwin) [ nettools java ];
|
||||||
|
|
||||||
sourceRoot = dirname;
|
sourceRoot = dirname;
|
||||||
|
|
||||||
@ -69,12 +73,15 @@ stdenv.mkDerivation rec {
|
|||||||
for comp in contrib/jdk* contrib/polyml-* contrib/z3-* contrib/verit-* contrib/vampire-* contrib/e-*; do
|
for comp in contrib/jdk* contrib/polyml-* contrib/z3-* contrib/verit-* contrib/vampire-* contrib/e-*; do
|
||||||
rm -rf $comp/x86*
|
rm -rf $comp/x86*
|
||||||
done
|
done
|
||||||
'' + (if ! stdenv.isLinux then "" else ''
|
'' + (if ! stdenv.isLinux then "" else ''
|
||||||
arch=${if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64-linux" else "x86-linux"}
|
arch=${if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64-linux" else "x86-linux"}
|
||||||
for f in contrib/*/$arch/{bash_process,epclextract,nunchaku,SPASS}; do
|
for f in contrib/*/$arch/{bash_process,epclextract,nunchaku,SPASS,zipperposition}; do
|
||||||
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f"
|
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f"
|
||||||
done
|
done
|
||||||
'');
|
for d in contrib/kodkodi-*/jni/$arch; do
|
||||||
|
patchelf --set-rpath "${lib.concatStringsSep ":" [ "${java}/lib/openjdk/lib/server" "${stdenv.cc.cc.lib}/lib" ]}" $d/*.so
|
||||||
|
done
|
||||||
|
'');
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"commit": "f1cca49c3c22107b73ce7156ebc7735d7d8d250e",
|
"commit": "52e5aa39956d0d5a8158320897630fed86ec2ed3",
|
||||||
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/f1cca49c3c22107b73ce7156ebc7735d7d8d250e.tar.gz",
|
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/52e5aa39956d0d5a8158320897630fed86ec2ed3.tar.gz",
|
||||||
"sha256": "0bcfynix3y0w5fhrij241l6sbndfr5h20pnxwqb9sf4h2ag0zlsa",
|
"sha256": "1yx7v3hscyp1jar0kfsc5pmj8i552j5milqzsair67cl8jf37vwz",
|
||||||
"msg": "Update from Hackage at 2021-12-28T00:33:48Z"
|
"msg": "Update from Hackage at 2022-01-05T00:50:25Z"
|
||||||
}
|
}
|
||||||
|
@ -21,13 +21,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-videos";
|
pname = "elementary-videos";
|
||||||
version = "2.8.1";
|
version = "2.8.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = "videos";
|
repo = "videos";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-Ki6i9u+oXOBTH+dVJ9RgBxszD7Wvdrfahd9abyjFYJY=";
|
sha256 = "sha256-3V8iDy68ngdFTJxAGimuGi4vPru32pHYevThA0RwNpE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,18 +1,27 @@
|
|||||||
{ lib
|
# Almost 1:1 copy of idris2's nix/platform.nix. Some work done in their flake.nix
|
||||||
, stdenv
|
# we do here instead.
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, chez
|
||||||
|
, chez-racket
|
||||||
|
, clang
|
||||||
|
, gmp
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, clang
|
, gambit
|
||||||
, chez
|
, nodejs
|
||||||
, gmp
|
|
||||||
, zsh
|
, zsh
|
||||||
, callPackage
|
, callPackage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# NOTICE: An `idris2WithPackages` is available at: https://github.com/claymager/idris2-pkgs
|
# NOTICE: An `idris2WithPackages` is available at: https://github.com/claymager/idris2-pkgs
|
||||||
|
|
||||||
|
let
|
||||||
|
# Taken from Idris2/idris2/flake.nix. Check if the idris2 project does it this
|
||||||
|
# way, still, every now and then.
|
||||||
|
platformChez = if stdenv.system == "x86_64-linux" then chez else chez-racket;
|
||||||
# Uses scheme to bootstrap the build of idris2
|
# Uses scheme to bootstrap the build of idris2
|
||||||
stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "idris2";
|
pname = "idris2";
|
||||||
version = "0.5.1";
|
version = "0.5.1";
|
||||||
|
|
||||||
@ -23,14 +32,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "sha256-6CTn8o5geWSesXO7vTrrV/2EOQ3f+nPQ2M5cem13ZSY=";
|
sha256 = "sha256-6CTn8o5geWSesXO7vTrrV/2EOQ3f+nPQ2M5cem13ZSY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# We do not add any propagatedNativeBuildInputs because we do not want the
|
|
||||||
# executables idris2 produces to depend on the nix-store. As such, it is left
|
|
||||||
# to the user to guarantee chez (or any other codgen dependency) is available
|
|
||||||
# in the path during compilation of programs with idris2.
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
nativeBuildInputs = [ makeWrapper clang chez ]
|
nativeBuildInputs = [ makeWrapper clang platformChez ]
|
||||||
++ lib.optional stdenv.isDarwin [ zsh ];
|
++ lib.optional stdenv.isDarwin [ zsh ];
|
||||||
buildInputs = [ gmp ];
|
buildInputs = [ platformChez gmp ];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
patchShebangs --build tests
|
patchShebangs --build tests
|
||||||
@ -43,44 +48,40 @@ stdenv.mkDerivation rec {
|
|||||||
buildFlags = [ "bootstrap" "SCHEME=scheme" ];
|
buildFlags = [ "bootstrap" "SCHEME=scheme" ];
|
||||||
|
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
checkInputs = [ gambit nodejs ]; # racket ];
|
||||||
|
checkFlags = [ "INTERACTIVE=" ];
|
||||||
|
|
||||||
# TODO: Move this into its own derivation, such that this can be changed
|
# TODO: Move this into its own derivation, such that this can be changed
|
||||||
# without having to recompile idris2 every time.
|
# without having to recompile idris2 every time.
|
||||||
postInstall = let
|
postInstall = let
|
||||||
includedLibs = [ "base" "contrib" "network" "prelude" ];
|
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
packagePaths =
|
globalLibraries = [
|
||||||
builtins.map (l: "$out/${name}/${l}-${version}") includedLibs;
|
"\\$HOME/.nix-profile/lib/${name}"
|
||||||
additionalIdris2Paths = builtins.concatStringsSep ":" packagePaths;
|
"/run/current-system/sw/lib/${name}"
|
||||||
|
"$out/${name}"
|
||||||
|
];
|
||||||
|
globalLibrariesPath = builtins.concatStringsSep ":" globalLibraries;
|
||||||
in ''
|
in ''
|
||||||
# Remove existing idris2 wrapper that sets incorrect LD_LIBRARY_PATH
|
# Remove existing idris2 wrapper that sets incorrect LD_LIBRARY_PATH
|
||||||
rm $out/bin/idris2
|
rm $out/bin/idris2
|
||||||
# Move actual idris2 binary
|
# The only thing we need from idris2_app is the actual binary
|
||||||
mv $out/bin/idris2_app/idris2.so $out/bin/idris2
|
mv $out/bin/idris2_app/idris2.so $out/bin/idris2
|
||||||
|
|
||||||
# After moving the binary, there is nothing left in idris2_app that isn't
|
|
||||||
# either contained in lib/ or is useless to us.
|
|
||||||
rm $out/bin/idris2_app/*
|
rm $out/bin/idris2_app/*
|
||||||
rmdir $out/bin/idris2_app
|
rmdir $out/bin/idris2_app
|
||||||
|
|
||||||
# idris2 needs to find scheme at runtime to compile
|
# idris2 needs to find scheme at runtime to compile
|
||||||
# idris2 installs packages with --install into the path given by PREFIX.
|
# idris2 installs packages with --install into the path given by
|
||||||
# Since PREFIX is in nix-store, it is immutable so --install does not work.
|
# IDRIS2_PREFIX. We set that to a default of ~/.idris2, to mirror the
|
||||||
# If the user redefines PREFIX to be able to install packages, idris2 will
|
# behaviour of the standard Makefile install.
|
||||||
# not find the libraries and packages since all paths are relative to
|
|
||||||
# PREFIX by default.
|
|
||||||
# We explicitly make all paths to point to nix-store, such that they are
|
|
||||||
# independent of what IDRIS2_PREFIX is. This allows the user to redefine
|
|
||||||
# IDRIS2_PREFIX and use --install as expected.
|
|
||||||
# TODO: Make support libraries their own derivation such that
|
# TODO: Make support libraries their own derivation such that
|
||||||
# overriding LD_LIBRARY_PATH is unnecessary
|
# overriding LD_LIBRARY_PATH is unnecessary
|
||||||
# TODO: Maybe set IDRIS2_PREFIX to the users home directory
|
|
||||||
wrapProgram "$out/bin/idris2" \
|
wrapProgram "$out/bin/idris2" \
|
||||||
--set-default CHEZ "${chez}/bin/scheme" \
|
--set-default CHEZ "${platformChez}/bin/scheme" \
|
||||||
|
--run 'export IDRIS2_PREFIX=''${IDRIS2_PREFIX-"$HOME/.idris2"}' \
|
||||||
--suffix IDRIS2_LIBS ':' "$out/${name}/lib" \
|
--suffix IDRIS2_LIBS ':' "$out/${name}/lib" \
|
||||||
--suffix IDRIS2_DATA ':' "$out/${name}/support" \
|
--suffix IDRIS2_DATA ':' "$out/${name}/support" \
|
||||||
--suffix IDRIS2_PATH ':' "${additionalIdris2Paths}" \
|
--suffix IDRIS2_PACKAGE_PATH ':' "${globalLibrariesPath}" \
|
||||||
--suffix ${if stdenv.isDarwin then "DYLD_LIBRARY_PATH" else "LD_LIBRARY_PATH"} ':' "$out/${name}/lib"
|
--suffix DYLD_LIBRARY_PATH ':' "$out/${name}/lib" \
|
||||||
|
--suffix LD_LIBRARY_PATH ':' "$out/${name}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Run package tests
|
# Run package tests
|
||||||
|
@ -50,6 +50,7 @@ in {
|
|||||||
# Data.Vect.Sort is available via --package contrib
|
# Data.Vect.Sort is available via --package contrib
|
||||||
use-contrib = testCompileAndRun {
|
use-contrib = testCompileAndRun {
|
||||||
testName = "use-contrib";
|
testName = "use-contrib";
|
||||||
|
packages = [ "contrib" ];
|
||||||
code = ''
|
code = ''
|
||||||
module Main
|
module Main
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@ in
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "vyper";
|
pname = "vyper";
|
||||||
version = "0.3.0";
|
version = "0.3.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "3e50cd802696ea3f5e6ab1bf4c9a90a39c332591d416c99f3d2fa93d7d7ba394";
|
sha256 = "sha256-fXug5v3zstz19uexMWokHBVsfcl2ZCdIOIXKeLVyh/Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytest-runner ];
|
nativeBuildInputs = [ pytest-runner ];
|
||||||
|
@ -41,11 +41,6 @@ self: super: {
|
|||||||
ghcjs-base = null;
|
ghcjs-base = null;
|
||||||
ghcjs-prim = null;
|
ghcjs-prim = null;
|
||||||
|
|
||||||
# enable using a local hoogle with extra packagages in the database
|
|
||||||
# nix-shell -p "haskellPackages.hoogleLocal { packages = with haskellPackages; [ mtl lens ]; }"
|
|
||||||
# $ hoogle server
|
|
||||||
hoogleLocal = { packages ? [] }: self.callPackage ./hoogle.nix { inherit packages; };
|
|
||||||
|
|
||||||
# Needs older QuickCheck version
|
# Needs older QuickCheck version
|
||||||
attoparsec-varword = dontCheck super.attoparsec-varword;
|
attoparsec-varword = dontCheck super.attoparsec-varword;
|
||||||
|
|
||||||
@ -82,7 +77,7 @@ self: super: {
|
|||||||
name = "git-annex-${super.git-annex.version}-src";
|
name = "git-annex-${super.git-annex.version}-src";
|
||||||
url = "git://git-annex.branchable.com/";
|
url = "git://git-annex.branchable.com/";
|
||||||
rev = "refs/tags/" + super.git-annex.version;
|
rev = "refs/tags/" + super.git-annex.version;
|
||||||
sha256 = "1x2d0gfqxxfygzigm34n0spaxh8bwipxs9317f6c5lkpj916p957";
|
sha256 = "14zzs4j9dpc6rdnna80m0vi7s1awlz0mrmwfh8l4zvglx75avpw5";
|
||||||
# delete android and Android directories which cause issues on
|
# delete android and Android directories which cause issues on
|
||||||
# darwin (case insensitive directory). Since we don't need them
|
# darwin (case insensitive directory). Since we don't need them
|
||||||
# during the build process, we can delete it to prevent a hash
|
# during the build process, we can delete it to prevent a hash
|
||||||
@ -2010,7 +2005,7 @@ self: super: {
|
|||||||
ghcup = doJailbreak (super.ghcup.overrideScope (self: super: {
|
ghcup = doJailbreak (super.ghcup.overrideScope (self: super: {
|
||||||
hspec-golden-aeson = self.hspec-golden-aeson_0_9_0_0;
|
hspec-golden-aeson = self.hspec-golden-aeson_0_9_0_0;
|
||||||
optics = self.optics_0_4;
|
optics = self.optics_0_4;
|
||||||
streamly = self.streamly_0_8_1_1;
|
streamly = doJailbreak self.streamly_0_8_1_1;
|
||||||
Cabal = self.Cabal_3_6_2_0;
|
Cabal = self.Cabal_3_6_2_0;
|
||||||
libyaml-streamly = markUnbroken super.libyaml-streamly;
|
libyaml-streamly = markUnbroken super.libyaml-streamly;
|
||||||
}));
|
}));
|
||||||
@ -2241,6 +2236,10 @@ self: super: {
|
|||||||
sdp4unordered = disableLibraryProfiling super.sdp4unordered;
|
sdp4unordered = disableLibraryProfiling super.sdp4unordered;
|
||||||
sdp4vector = disableLibraryProfiling super.sdp4vector;
|
sdp4vector = disableLibraryProfiling super.sdp4vector;
|
||||||
|
|
||||||
|
# Test suite fails to compile
|
||||||
|
# https://github.com/kuribas/mfsolve/issues/8
|
||||||
|
mfsolve = dontCheck super.mfsolve;
|
||||||
|
|
||||||
hie-bios = appendPatches [
|
hie-bios = appendPatches [
|
||||||
# Accounts for a breaking change in GHC 9.0.2 via CPP
|
# Accounts for a breaking change in GHC 9.0.2 via CPP
|
||||||
(pkgs.fetchpatch {
|
(pkgs.fetchpatch {
|
||||||
|
@ -117,7 +117,7 @@ self: super: {
|
|||||||
retry = dontCheck super.retry;
|
retry = dontCheck super.retry;
|
||||||
|
|
||||||
# Hlint needs >= 3.3.4 for ghc 9 support.
|
# Hlint needs >= 3.3.4 for ghc 9 support.
|
||||||
hlint = doDistribute super.hlint_3_3_5;
|
hlint = doDistribute super.hlint_3_3_6;
|
||||||
|
|
||||||
# 2021-09-18: ghc-api-compat and ghc-lib-* need >= 9.0.x versions for hls and hlint
|
# 2021-09-18: ghc-api-compat and ghc-lib-* need >= 9.0.x versions for hls and hlint
|
||||||
ghc-api-compat = doDistribute super.ghc-api-compat_9_0_1;
|
ghc-api-compat = doDistribute super.ghc-api-compat_9_0_1;
|
||||||
@ -147,7 +147,7 @@ self: super: {
|
|||||||
# https://github.com/lspitzner/butcher/issues/7
|
# https://github.com/lspitzner/butcher/issues/7
|
||||||
butcher = doJailbreak super.butcher;
|
butcher = doJailbreak super.butcher;
|
||||||
# Fixes a bug triggered on GHC 9.0.1
|
# Fixes a bug triggered on GHC 9.0.1
|
||||||
text-short = self.text-short_0_1_4;
|
text-short = self.text-short_0_1_5;
|
||||||
|
|
||||||
# 2021-09-18: The following plugins don‘t work yet on ghc9.
|
# 2021-09-18: The following plugins don‘t work yet on ghc9.
|
||||||
haskell-language-server = appendConfigureFlags [
|
haskell-language-server = appendConfigureFlags [
|
||||||
|
@ -221,7 +221,7 @@ self: super: {
|
|||||||
semigroupoids = overrideCabal (drv: { postPatch = "sed -i -e 's,hashable >= 1.2.7.0 && < 1.4,hashable >= 1.2.7.0 \\&\\& < 1.5,' semigroupoids.cabal";}) super.semigroupoids;
|
semigroupoids = overrideCabal (drv: { postPatch = "sed -i -e 's,hashable >= 1.2.7.0 && < 1.4,hashable >= 1.2.7.0 \\&\\& < 1.5,' semigroupoids.cabal";}) super.semigroupoids;
|
||||||
|
|
||||||
# Tests have a circular dependency on quickcheck-instances
|
# Tests have a circular dependency on quickcheck-instances
|
||||||
text-short = dontCheck super.text-short_0_1_4;
|
text-short = dontCheck super.text-short_0_1_5;
|
||||||
|
|
||||||
# Use hlint from git for GHC 9.2.1 support
|
# Use hlint from git for GHC 9.2.1 support
|
||||||
hlint = doDistribute (
|
hlint = doDistribute (
|
||||||
@ -233,7 +233,7 @@ self: super: {
|
|||||||
rev = "77a9702e10b772a7695c08682cd4f450fd0e9e46";
|
rev = "77a9702e10b772a7695c08682cd4f450fd0e9e46";
|
||||||
sha256 = "0hpp3iw7m7w2abr8vb86gdz3x6c8lj119zxln933k90ia7bmk8jc";
|
sha256 = "0hpp3iw7m7w2abr8vb86gdz3x6c8lj119zxln933k90ia7bmk8jc";
|
||||||
};
|
};
|
||||||
} (super.hlint_3_3_5.overrideScope (self: super: {
|
} (super.hlint_3_3_6.overrideScope (self: super: {
|
||||||
ghc-lib-parser = self.ghc-lib-parser_9_2_1_20211101;
|
ghc-lib-parser = self.ghc-lib-parser_9_2_1_20211101;
|
||||||
ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_2_0_1;
|
ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_2_0_1;
|
||||||
}))
|
}))
|
||||||
|
@ -1783,6 +1783,7 @@ broken-packages:
|
|||||||
- graph-rewriting
|
- graph-rewriting
|
||||||
- graph-serialize
|
- graph-serialize
|
||||||
- graphted
|
- graphted
|
||||||
|
- graph-trace-dot
|
||||||
- graphula-core
|
- graphula-core
|
||||||
- graph-utils
|
- graph-utils
|
||||||
- graql
|
- graql
|
||||||
@ -1801,6 +1802,7 @@ broken-packages:
|
|||||||
- gross
|
- gross
|
||||||
- GroteTrap
|
- GroteTrap
|
||||||
- groundhog-converters
|
- groundhog-converters
|
||||||
|
- groundhog-inspector
|
||||||
- groundhog-mysql
|
- groundhog-mysql
|
||||||
- grouped-list
|
- grouped-list
|
||||||
- group-theory
|
- group-theory
|
||||||
@ -4081,6 +4083,7 @@ broken-packages:
|
|||||||
- refined-http-api-data
|
- refined-http-api-data
|
||||||
- reflection-extras
|
- reflection-extras
|
||||||
- reflex-basic-host
|
- reflex-basic-host
|
||||||
|
- reflex-dom-ace
|
||||||
- reflex-dom-contrib
|
- reflex-dom-contrib
|
||||||
- reflex-dom-helper
|
- reflex-dom-helper
|
||||||
- reflex-dom-helpers
|
- reflex-dom-helpers
|
||||||
@ -4108,6 +4111,7 @@ broken-packages:
|
|||||||
- regex-posix-unittest
|
- regex-posix-unittest
|
||||||
- regexpr-symbolic
|
- regexpr-symbolic
|
||||||
- regexqq
|
- regexqq
|
||||||
|
- regex-rure
|
||||||
- regex-tdfa-pipes
|
- regex-tdfa-pipes
|
||||||
- regex-tdfa-quasiquoter
|
- regex-tdfa-quasiquoter
|
||||||
- regex-tdfa-rc
|
- regex-tdfa-rc
|
||||||
|
@ -130,6 +130,9 @@ default-package-overrides:
|
|||||||
- polysemy-resume < 0.1.0.2
|
- polysemy-resume < 0.1.0.2
|
||||||
- polysemy-conc < 0.5
|
- polysemy-conc < 0.5
|
||||||
- polysemy-mocks < 0.2
|
- polysemy-mocks < 0.2
|
||||||
|
# Pinning patch because it is mainly used by the reflex-frp ecosystem which is not yet compatible with it.
|
||||||
|
# https://github.com/reflex-frp/reflex-dom/issues/431
|
||||||
|
- patch < 0.0.5.0
|
||||||
|
|
||||||
extra-packages:
|
extra-packages:
|
||||||
- base16-bytestring < 1 # required for cabal-install etc.
|
- base16-bytestring < 1 # required for cabal-install etc.
|
||||||
@ -165,6 +168,10 @@ extra-packages:
|
|||||||
- brick == 0.64.* # 2021-12-03: matterhorn depends on brick < 0.65
|
- brick == 0.64.* # 2021-12-03: matterhorn depends on brick < 0.65
|
||||||
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
|
- path == 0.9.0 # 2021-12-03: path version building with stackage genvalidity and GHC 9.0.2
|
||||||
- ormolu == 0.3.* # 2021-12-03: for HLS with GHC 9.0.2
|
- ormolu == 0.3.* # 2021-12-03: for HLS with GHC 9.0.2
|
||||||
|
# 2022-01-08 hls-plugin-api 1.2.0.2 needs lsp < 1.3, but newer than stackage
|
||||||
|
- lsp < 1.3
|
||||||
|
- lsp-types < 1.4
|
||||||
|
- lsp-test < 0.14.0.2
|
||||||
|
|
||||||
package-maintainers:
|
package-maintainers:
|
||||||
abbradar:
|
abbradar:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Stackage LTS 18.20
|
# Stackage LTS 18.21
|
||||||
# This file is auto-generated by
|
# This file is auto-generated by
|
||||||
# maintainers/scripts/haskell/update-stackage.sh
|
# maintainers/scripts/haskell/update-stackage.sh
|
||||||
default-package-overrides:
|
default-package-overrides:
|
||||||
@ -154,7 +154,7 @@ default-package-overrides:
|
|||||||
- appar ==0.1.8
|
- appar ==0.1.8
|
||||||
- appendmap ==0.1.5
|
- appendmap ==0.1.5
|
||||||
- apply-refact ==0.9.3.0
|
- apply-refact ==0.9.3.0
|
||||||
- apportionment ==0.0.0.3
|
- apportionment ==0.0.0.4
|
||||||
- approximate ==0.3.5
|
- approximate ==0.3.5
|
||||||
- approximate-equality ==1.1.0.2
|
- approximate-equality ==1.1.0.2
|
||||||
- app-settings ==0.2.0.12
|
- app-settings ==0.2.0.12
|
||||||
@ -207,7 +207,7 @@ default-package-overrides:
|
|||||||
- backtracking ==0.1.0
|
- backtracking ==0.1.0
|
||||||
- bank-holidays-england ==0.2.0.6
|
- bank-holidays-england ==0.2.0.6
|
||||||
- barbies ==2.0.3.0
|
- barbies ==2.0.3.0
|
||||||
- base16 ==0.3.0.2
|
- base16 ==0.3.1.0
|
||||||
- base16-bytestring ==1.0.2.0
|
- base16-bytestring ==1.0.2.0
|
||||||
- base16-lens ==0.1.3.2
|
- base16-lens ==0.1.3.2
|
||||||
- base32 ==0.2.1.0
|
- base32 ==0.2.1.0
|
||||||
@ -338,7 +338,7 @@ default-package-overrides:
|
|||||||
- cabal-plan ==0.7.2.0
|
- cabal-plan ==0.7.2.0
|
||||||
- cabal-rpm ==2.0.10
|
- cabal-rpm ==2.0.10
|
||||||
- cache ==0.1.3.0
|
- cache ==0.1.3.0
|
||||||
- cached-json-file ==0.1.0
|
- cached-json-file ==0.1.1
|
||||||
- cacophony ==0.10.1
|
- cacophony ==0.10.1
|
||||||
- calendar-recycling ==0.0.0.1
|
- calendar-recycling ==0.0.0.1
|
||||||
- call-stack ==0.3.0
|
- call-stack ==0.3.0
|
||||||
@ -513,7 +513,7 @@ default-package-overrides:
|
|||||||
- csp ==1.4.0
|
- csp ==1.4.0
|
||||||
- css-syntax ==0.1.0.0
|
- css-syntax ==0.1.0.0
|
||||||
- css-text ==0.1.3.0
|
- css-text ==0.1.3.0
|
||||||
- c-struct ==0.1.1.0
|
- c-struct ==0.1.1.1
|
||||||
- csv ==0.1.2
|
- csv ==0.1.2
|
||||||
- ctrie ==0.2
|
- ctrie ==0.2
|
||||||
- cubicbezier ==0.6.0.6
|
- cubicbezier ==0.6.0.6
|
||||||
@ -601,7 +601,7 @@ default-package-overrides:
|
|||||||
- dialogflow-fulfillment ==0.1.1.4
|
- dialogflow-fulfillment ==0.1.1.4
|
||||||
- di-core ==1.0.4
|
- di-core ==1.0.4
|
||||||
- dictionary-sharing ==0.1.0.0
|
- dictionary-sharing ==0.1.0.0
|
||||||
- Diff ==0.4.0
|
- Diff ==0.4.1
|
||||||
- digest ==0.0.1.3
|
- digest ==0.0.1.3
|
||||||
- digits ==0.3.1
|
- digits ==0.3.1
|
||||||
- dimensional ==1.4
|
- dimensional ==1.4
|
||||||
@ -848,7 +848,7 @@ default-package-overrides:
|
|||||||
- GenericPretty ==1.2.2
|
- GenericPretty ==1.2.2
|
||||||
- generic-random ==1.4.0.0
|
- generic-random ==1.4.0.0
|
||||||
- generics-eot ==0.4.0.1
|
- generics-eot ==0.4.0.1
|
||||||
- generics-sop ==0.5.1.1
|
- generics-sop ==0.5.1.2
|
||||||
- generics-sop-lens ==0.2.0.1
|
- generics-sop-lens ==0.2.0.1
|
||||||
- geniplate-mirror ==0.7.8
|
- geniplate-mirror ==0.7.8
|
||||||
- genvalidity ==0.11.0.2
|
- genvalidity ==0.11.0.2
|
||||||
@ -880,7 +880,7 @@ default-package-overrides:
|
|||||||
- genvalidity-unordered-containers ==0.3.0.1
|
- genvalidity-unordered-containers ==0.3.0.1
|
||||||
- genvalidity-uuid ==0.1.0.4
|
- genvalidity-uuid ==0.1.0.4
|
||||||
- genvalidity-vector ==0.3.0.1
|
- genvalidity-vector ==0.3.0.1
|
||||||
- geojson ==4.0.2
|
- geojson ==4.0.4
|
||||||
- getopt-generics ==0.13.0.4
|
- getopt-generics ==0.13.0.4
|
||||||
- ghc-byteorder ==4.11.0.0.10
|
- ghc-byteorder ==4.11.0.0.10
|
||||||
- ghc-check ==0.5.0.6
|
- ghc-check ==0.5.0.6
|
||||||
@ -1059,7 +1059,7 @@ default-package-overrides:
|
|||||||
- hlibcpuid ==0.2.0
|
- hlibcpuid ==0.2.0
|
||||||
- hlibgit2 ==0.18.0.16
|
- hlibgit2 ==0.18.0.16
|
||||||
- hlibsass ==0.1.10.1
|
- hlibsass ==0.1.10.1
|
||||||
- hlint ==3.2.7
|
- hlint ==3.2.8
|
||||||
- hmatrix ==0.20.2
|
- hmatrix ==0.20.2
|
||||||
- hmatrix-backprop ==0.1.3.0
|
- hmatrix-backprop ==0.1.3.0
|
||||||
- hmatrix-gsl ==0.19.0.1
|
- hmatrix-gsl ==0.19.0.1
|
||||||
@ -1069,7 +1069,7 @@ default-package-overrides:
|
|||||||
- hmm-lapack ==0.4
|
- hmm-lapack ==0.4
|
||||||
- hmpfr ==0.4.4
|
- hmpfr ==0.4.4
|
||||||
- hnock ==0.4.0
|
- hnock ==0.4.0
|
||||||
- hoauth2 ==1.16.0
|
- hoauth2 ==1.16.1
|
||||||
- hoogle ==5.0.18.3
|
- hoogle ==5.0.18.3
|
||||||
- hOpenPGP ==2.9.7
|
- hOpenPGP ==2.9.7
|
||||||
- hopenpgp-tools ==0.23.6
|
- hopenpgp-tools ==0.23.6
|
||||||
@ -1483,7 +1483,7 @@ default-package-overrides:
|
|||||||
- mersenne-random-pure64 ==0.2.2.0
|
- mersenne-random-pure64 ==0.2.2.0
|
||||||
- messagepack ==0.5.4
|
- messagepack ==0.5.4
|
||||||
- metrics ==0.4.1.1
|
- metrics ==0.4.1.1
|
||||||
- mfsolve ==0.3.2.0
|
- mfsolve ==0.3.2.1
|
||||||
- microlens ==0.4.12.0
|
- microlens ==0.4.12.0
|
||||||
- microlens-aeson ==2.3.1
|
- microlens-aeson ==2.3.1
|
||||||
- microlens-contra ==0.1.0.2
|
- microlens-contra ==0.1.0.2
|
||||||
@ -1875,7 +1875,7 @@ default-package-overrides:
|
|||||||
- protolude ==0.3.0
|
- protolude ==0.3.0
|
||||||
- proxied ==0.3.1
|
- proxied ==0.3.1
|
||||||
- psqueues ==0.2.7.3
|
- psqueues ==0.2.7.3
|
||||||
- ptr-poker ==0.1.2.3
|
- ptr-poker ==0.1.2.4
|
||||||
- publicsuffix ==0.20200526
|
- publicsuffix ==0.20200526
|
||||||
- pulse-simple ==0.1.14
|
- pulse-simple ==0.1.14
|
||||||
- pureMD5 ==2.1.4
|
- pureMD5 ==2.1.4
|
||||||
@ -1923,7 +1923,7 @@ default-package-overrides:
|
|||||||
- Ranged-sets ==0.4.0
|
- Ranged-sets ==0.4.0
|
||||||
- range-set-list ==0.1.3.1
|
- range-set-list ==0.1.3.1
|
||||||
- rank1dynamic ==0.4.1
|
- rank1dynamic ==0.4.1
|
||||||
- rank2classes ==1.4.3
|
- rank2classes ==1.4.4
|
||||||
- Rasterific ==0.7.5.4
|
- Rasterific ==0.7.5.4
|
||||||
- rasterific-svg ==0.3.3.2
|
- rasterific-svg ==0.3.3.2
|
||||||
- ratel ==1.0.17
|
- ratel ==1.0.17
|
||||||
@ -2058,7 +2058,7 @@ default-package-overrides:
|
|||||||
- sdl2-image ==2.0.0
|
- sdl2-image ==2.0.0
|
||||||
- sdl2-mixer ==1.1.0
|
- sdl2-mixer ==1.1.0
|
||||||
- sdl2-ttf ==2.1.2
|
- sdl2-ttf ==2.1.2
|
||||||
- search-algorithms ==0.3.1
|
- search-algorithms ==0.3.2
|
||||||
- secp256k1-haskell ==0.5.0
|
- secp256k1-haskell ==0.5.0
|
||||||
- securemem ==0.1.10
|
- securemem ==0.1.10
|
||||||
- selda ==0.5.1.0
|
- selda ==0.5.1.0
|
||||||
@ -2188,7 +2188,7 @@ default-package-overrides:
|
|||||||
- socket ==0.8.3.0
|
- socket ==0.8.3.0
|
||||||
- socks ==0.6.1
|
- socks ==0.6.1
|
||||||
- some ==1.0.2
|
- some ==1.0.2
|
||||||
- sop-core ==0.5.0.1
|
- sop-core ==0.5.0.2
|
||||||
- sort ==1.0.0.0
|
- sort ==1.0.0.0
|
||||||
- sorted-list ==0.2.1.0
|
- sorted-list ==0.2.1.0
|
||||||
- sourcemap ==0.1.7
|
- sourcemap ==0.1.7
|
||||||
@ -2283,7 +2283,7 @@ default-package-overrides:
|
|||||||
- swagger ==0.3.0
|
- swagger ==0.3.0
|
||||||
- swagger2 ==2.6
|
- swagger2 ==2.6
|
||||||
- sweet-egison ==0.1.1.3
|
- sweet-egison ==0.1.1.3
|
||||||
- swish ==0.10.0.9
|
- swish ==0.10.1.0
|
||||||
- syb ==0.7.2.1
|
- syb ==0.7.2.1
|
||||||
- sydtest ==0.2.0.0
|
- sydtest ==0.2.0.0
|
||||||
- sydtest-discover ==0.0.0.1
|
- sydtest-discover ==0.0.0.1
|
||||||
@ -2368,7 +2368,7 @@ default-package-overrides:
|
|||||||
- text-ldap ==0.1.1.14
|
- text-ldap ==0.1.1.14
|
||||||
- textlocal ==0.1.0.5
|
- textlocal ==0.1.0.5
|
||||||
- text-manipulate ==0.3.0.0
|
- text-manipulate ==0.3.0.0
|
||||||
- text-metrics ==0.3.1
|
- text-metrics ==0.3.2
|
||||||
- text-postgresql ==0.0.3.1
|
- text-postgresql ==0.0.3.1
|
||||||
- text-printer ==0.5.0.2
|
- text-printer ==0.5.0.2
|
||||||
- text-regex-replace ==0.1.1.4
|
- text-regex-replace ==0.1.1.4
|
||||||
@ -2411,7 +2411,7 @@ default-package-overrides:
|
|||||||
- th-test-utils ==1.1.1
|
- th-test-utils ==1.1.1
|
||||||
- th-utilities ==0.2.4.3
|
- th-utilities ==0.2.4.3
|
||||||
- thyme ==0.3.5.5
|
- thyme ==0.3.5.5
|
||||||
- tidal ==1.7.9
|
- tidal ==1.7.10
|
||||||
- tile ==0.3.0.0
|
- tile ==0.3.0.0
|
||||||
- time-compat ==1.9.5
|
- time-compat ==1.9.5
|
||||||
- timeit ==2.0
|
- timeit ==2.0
|
||||||
@ -2447,7 +2447,7 @@ default-package-overrides:
|
|||||||
- transformers-compat ==0.6.6
|
- transformers-compat ==0.6.6
|
||||||
- transformers-fix ==1.0
|
- transformers-fix ==1.0
|
||||||
- traverse-with-class ==1.0.1.1
|
- traverse-with-class ==1.0.1.1
|
||||||
- tree-diff ==0.2.1
|
- tree-diff ==0.2.1.1
|
||||||
- tree-fun ==0.8.1.0
|
- tree-fun ==0.8.1.0
|
||||||
- tree-view ==0.5.1
|
- tree-view ==0.5.1
|
||||||
- trifecta ==2.1.2
|
- trifecta ==2.1.2
|
||||||
@ -2559,7 +2559,7 @@ default-package-overrides:
|
|||||||
- validity-vector ==0.2.0.3
|
- validity-vector ==0.2.0.3
|
||||||
- valor ==0.1.0.0
|
- valor ==0.1.0.0
|
||||||
- vault ==0.3.1.5
|
- vault ==0.3.1.5
|
||||||
- vcs-ignore ==0.0.1.0
|
- vcs-ignore ==0.0.2.0
|
||||||
- vec ==0.4
|
- vec ==0.4
|
||||||
- vector ==0.12.3.1
|
- vector ==0.12.3.1
|
||||||
- vector-algorithms ==0.8.0.4
|
- vector-algorithms ==0.8.0.4
|
||||||
|
@ -1298,6 +1298,7 @@ dont-distribute-packages:
|
|||||||
- graph-rewriting-strategies
|
- graph-rewriting-strategies
|
||||||
- graph-rewriting-trs
|
- graph-rewriting-trs
|
||||||
- graph-rewriting-ww
|
- graph-rewriting-ww
|
||||||
|
- graph-trace-viz
|
||||||
- graph-visit
|
- graph-visit
|
||||||
- graphicsFormats
|
- graphicsFormats
|
||||||
- graphicstools
|
- graphicstools
|
||||||
@ -2159,6 +2160,7 @@ dont-distribute-packages:
|
|||||||
- mpretty
|
- mpretty
|
||||||
- mprover
|
- mprover
|
||||||
- mps
|
- mps
|
||||||
|
- mptcp
|
||||||
- msgpack-aeson
|
- msgpack-aeson
|
||||||
- msgpack-idl
|
- msgpack-idl
|
||||||
- msgpack-rpc
|
- msgpack-rpc
|
||||||
@ -2832,6 +2834,7 @@ dont-distribute-packages:
|
|||||||
- sounddelay
|
- sounddelay
|
||||||
- soundgen
|
- soundgen
|
||||||
- source-code-server
|
- source-code-server
|
||||||
|
- spade
|
||||||
- sparkle
|
- sparkle
|
||||||
- sparrow
|
- sparrow
|
||||||
- sparsebit
|
- sparsebit
|
||||||
@ -3017,6 +3020,7 @@ dont-distribute-packages:
|
|||||||
- toktok
|
- toktok
|
||||||
- too-many-cells
|
- too-many-cells
|
||||||
- top
|
- top
|
||||||
|
- topaz
|
||||||
- topkata
|
- topkata
|
||||||
- total-map
|
- total-map
|
||||||
- toxcore
|
- toxcore
|
||||||
|
1585
pkgs/development/haskell-modules/hackage-packages.nix
generated
1585
pkgs/development/haskell-modules/hackage-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -1,34 +1,22 @@
|
|||||||
# Install not only the Hoogle library and executable, but also a local Hoogle
|
# Install not only the Hoogle library and executable, but also a local Hoogle
|
||||||
# database which provides "Source" links to all specified 'packages' -- or the
|
# database which provides "Source" links to all specified 'packages' -- or the
|
||||||
# current Haskell Platform if no custom package set is provided.
|
# current Haskell Platform if no custom package set is provided.
|
||||||
#
|
|
||||||
# It is intended to be used in config.nix similarly to:
|
|
||||||
#
|
|
||||||
# { packageOverrides = pkgs: rec {
|
|
||||||
#
|
|
||||||
# haskellPackages =
|
|
||||||
# let callPackage = pkgs.lib.callPackageWith haskellPackages;
|
|
||||||
# in pkgs.recurseIntoAttrs (pkgs.haskellPackages.override {
|
|
||||||
# extension = self: super: {
|
|
||||||
# hoogleLocal = pkgs.haskellPackages.hoogleLocal.override {
|
|
||||||
# packages = with pkgs.haskellPackages; [
|
|
||||||
# mmorph
|
|
||||||
# monadControl
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# });
|
|
||||||
# }}
|
|
||||||
#
|
|
||||||
# This will build mmorph and monadControl, and have the hoogle installation
|
|
||||||
# refer to their documentation via symlink so they are not garbage collected.
|
|
||||||
|
|
||||||
{ lib, stdenv, buildPackages
|
{ lib, stdenv, buildPackages, haskellPackages
|
||||||
, hoogle, writeText, ghc
|
, writeText
|
||||||
, packages
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
# This argument is a function which selects a list of Haskell packages from any
|
||||||
|
# passed Haskell package set.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# (hpkgs: [ hpkgs.mtl hpkgs.lens ])
|
||||||
|
selectPackages:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (haskellPackages) ghc hoogle;
|
||||||
|
packages = selectPackages haskellPackages;
|
||||||
|
|
||||||
wrapper = ./hoogle-local-wrapper.sh;
|
wrapper = ./hoogle-local-wrapper.sh;
|
||||||
isGhcjs = ghc.isGhcjs or false;
|
isGhcjs = ghc.isGhcjs or false;
|
||||||
opts = lib.optionalString;
|
opts = lib.optionalString;
|
||||||
@ -55,7 +43,7 @@ let
|
|||||||
|
|
||||||
in
|
in
|
||||||
buildPackages.stdenv.mkDerivation {
|
buildPackages.stdenv.mkDerivation {
|
||||||
name = "hoogle-local-0.1";
|
name = "hoogle-with-packages";
|
||||||
buildInputs = [ghc hoogle];
|
buildInputs = [ghc hoogle];
|
||||||
|
|
||||||
inherit docPackages;
|
inherit docPackages;
|
||||||
|
@ -87,8 +87,11 @@ let
|
|||||||
drv = if lib.isFunction fn then fn else import fn;
|
drv = if lib.isFunction fn then fn else import fn;
|
||||||
auto = builtins.intersectAttrs (lib.functionArgs drv) scope;
|
auto = builtins.intersectAttrs (lib.functionArgs drv) scope;
|
||||||
|
|
||||||
|
# Converts a returned function to a functor attribute set if necessary
|
||||||
|
ensureAttrs = v: if builtins.isFunction v then { __functor = _: v; } else v;
|
||||||
|
|
||||||
# this wraps the `drv` function to add a `overrideScope` function to the result.
|
# this wraps the `drv` function to add a `overrideScope` function to the result.
|
||||||
drvScope = allArgs: drv allArgs // {
|
drvScope = allArgs: ensureAttrs (drv allArgs) // {
|
||||||
overrideScope = f:
|
overrideScope = f:
|
||||||
let newScope = mkScope (fix' (extends f scope.__unfix__));
|
let newScope = mkScope (fix' (extends f scope.__unfix__));
|
||||||
# note that we have to be careful here: `allArgs` includes the auto-arguments that
|
# note that we have to be careful here: `allArgs` includes the auto-arguments that
|
||||||
@ -117,11 +120,6 @@ let
|
|||||||
defaultScope = mkScope self;
|
defaultScope = mkScope self;
|
||||||
callPackage = drv: args: callPackageWithScope defaultScope drv args;
|
callPackage = drv: args: callPackageWithScope defaultScope drv args;
|
||||||
|
|
||||||
withPackages = packages: buildPackages.callPackage ./with-packages-wrapper.nix {
|
|
||||||
inherit (self) ghc llvmPackages;
|
|
||||||
inherit packages;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Use cabal2nix to create a default.nix for the package sources found at 'src'.
|
# Use cabal2nix to create a default.nix for the package sources found at 'src'.
|
||||||
haskellSrc2nix = { name, src, sha256 ? null, extraCabal2nixOptions ? "" }:
|
haskellSrc2nix = { name, src, sha256 ? null, extraCabal2nixOptions ? "" }:
|
||||||
let
|
let
|
||||||
@ -266,22 +264,53 @@ in package-set { inherit pkgs lib callPackage; } self // {
|
|||||||
then (modifier drv).envFunc {inherit withHoogle;}
|
then (modifier drv).envFunc {inherit withHoogle;}
|
||||||
else modifier drv;
|
else modifier drv;
|
||||||
|
|
||||||
ghcWithPackages = selectFrom: withPackages (selectFrom self);
|
# This can be used to easily create a derivation containing GHC and the specified set of Haskell packages.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# $ nix-shell -p 'haskellPackages.ghcWithPackages (hpkgs: [ hpkgs.mtl hpkgs.lens ])'
|
||||||
|
# $ ghci # in the nix-shell
|
||||||
|
# Prelude > import Control.Lens
|
||||||
|
#
|
||||||
|
# GHC is setup with a package database with all the specified Haskell packages.
|
||||||
|
#
|
||||||
|
# ghcWithPackages :: (HaskellPkgSet -> [ HaskellPkg ]) -> Derivation
|
||||||
|
ghcWithPackages = self.callPackage ./with-packages-wrapper.nix {
|
||||||
|
haskellPackages = self;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# Put 'hoogle' into the derivation's PATH with a database containing all
|
# Put 'hoogle' into the derivation's PATH with a database containing all
|
||||||
# the package's dependencies; run 'hoogle server --local' in a shell to
|
# the package's dependencies; run 'hoogle server --local' in a shell to
|
||||||
# host a search engine for the dependencies.
|
# host a search engine for the dependencies.
|
||||||
#
|
#
|
||||||
|
# Example usage:
|
||||||
|
# $ nix-shell -p 'haskellPackages.hoogleWithPackages (p: [ p.mtl p.lens ])'
|
||||||
|
# [nix-shell] $ hoogle server
|
||||||
|
#
|
||||||
|
# hoogleWithPackages :: (HaskellPkgSet -> [ HaskellPkg ]) -> Derivation
|
||||||
|
#
|
||||||
# To reload the Hoogle server automatically on .cabal file changes try
|
# To reload the Hoogle server automatically on .cabal file changes try
|
||||||
# this:
|
# this:
|
||||||
# echo *.cabal | entr -r -- nix-shell --run 'hoogle server --local'
|
# echo *.cabal | entr -r -- nix-shell --run 'hoogle server --local'
|
||||||
ghcWithHoogle = selectFrom:
|
hoogleWithPackages = self.callPackage ./hoogle.nix {
|
||||||
let
|
haskellPackages = self;
|
||||||
packages = selectFrom self;
|
};
|
||||||
hoogle = callPackage ./hoogle.nix {
|
hoogleLocal =
|
||||||
inherit packages;
|
{ packages ? [] }:
|
||||||
};
|
lib.warn "hoogleLocal is deprecated, use hoogleWithPackages instead" (
|
||||||
in withPackages (packages ++ [ hoogle ]);
|
self.hoogleWithPackages (_: packages)
|
||||||
|
);
|
||||||
|
# This is like a combination of ghcWithPackages and hoogleWithPackages.
|
||||||
|
# It provides a derivation containing both GHC and Hoogle with an index of
|
||||||
|
# the given Haskell package database.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# $ nix-shell -p 'haskellPackages.ghcWithHoogle (hpkgs: [ hpkgs.conduit hpkgs.lens ])'
|
||||||
|
#
|
||||||
|
# ghcWithHoogle :: (HaskellPkgSet -> [ HaskellPkg ]) -> Derivation
|
||||||
|
ghcWithHoogle = self.ghcWithPackages.override {
|
||||||
|
withHoogle = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Returns a derivation whose environment contains a GHC with only
|
# Returns a derivation whose environment contains a GHC with only
|
||||||
# the dependencies of packages listed in `packages`, not the
|
# the dependencies of packages listed in `packages`, not the
|
||||||
|
@ -1,16 +1,20 @@
|
|||||||
{ lib, stdenv, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
|
{ lib, stdenv, haskellPackages, symlinkJoin, makeWrapper
|
||||||
# GHC will have LLVM available if necessary for the respective target,
|
# GHC will have LLVM available if necessary for the respective target,
|
||||||
# so useLLVM only needs to be changed if -fllvm is to be used for a
|
# so useLLVM only needs to be changed if -fllvm is to be used for a
|
||||||
# platform that has NCG support
|
# platform that has NCG support
|
||||||
, useLLVM ? false
|
, useLLVM ? false
|
||||||
|
, withHoogle ? false
|
||||||
|
, hoogleWithPackages
|
||||||
, postBuild ? ""
|
, postBuild ? ""
|
||||||
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
|
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert ghcLibdir != null -> (ghc.isGhcjs or false);
|
# This argument is a function which selects a list of Haskell packages from any
|
||||||
|
# passed Haskell package set.
|
||||||
# This wrapper works only with GHC 6.12 or later.
|
#
|
||||||
assert lib.versionOlder "6.12" ghc.version || ghc.isGhcjs || ghc.isHaLVM;
|
# Example:
|
||||||
|
# (hpkgs: [ hpkgs.mtl hpkgs.lens ])
|
||||||
|
selectPackages:
|
||||||
|
|
||||||
# It's probably a good idea to include the library "ghc-paths" in the
|
# It's probably a good idea to include the library "ghc-paths" in the
|
||||||
# compiler environment, because we have a specially patched version of
|
# compiler environment, because we have a specially patched version of
|
||||||
@ -34,6 +38,11 @@ assert lib.versionOlder "6.12" ghc.version || ghc.isGhcjs || ghc.isHaLVM;
|
|||||||
# fi
|
# fi
|
||||||
|
|
||||||
let
|
let
|
||||||
|
inherit (haskellPackages) llvmPackages ghc;
|
||||||
|
|
||||||
|
packages = selectPackages haskellPackages
|
||||||
|
++ lib.optional withHoogle (hoogleWithPackages selectPackages);
|
||||||
|
|
||||||
isGhcjs = ghc.isGhcjs or false;
|
isGhcjs = ghc.isGhcjs or false;
|
||||||
isHaLVM = ghc.isHaLVM or false;
|
isHaLVM = ghc.isHaLVM or false;
|
||||||
ghc761OrLater = isGhcjs || isHaLVM || lib.versionOlder "7.6.1" ghc.version;
|
ghc761OrLater = isGhcjs || isHaLVM || lib.versionOlder "7.6.1" ghc.version;
|
||||||
@ -53,6 +62,9 @@ let
|
|||||||
([ llvmPackages.llvm ]
|
([ llvmPackages.llvm ]
|
||||||
++ lib.optional stdenv.targetPlatform.isDarwin llvmPackages.clang);
|
++ lib.optional stdenv.targetPlatform.isDarwin llvmPackages.clang);
|
||||||
in
|
in
|
||||||
|
|
||||||
|
assert ghcLibdir != null -> (ghc.isGhcjs or false);
|
||||||
|
|
||||||
if paths == [] && !useLLVM then ghc else
|
if paths == [] && !useLLVM then ghc else
|
||||||
symlinkJoin {
|
symlinkJoin {
|
||||||
# this makes computing paths from the name attribute impossible;
|
# this makes computing paths from the name attribute impossible;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, libck, darwin }:
|
{ lib, stdenv, fetchFromGitHub, libck, darwin }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.30.0";
|
version = "0.34.0";
|
||||||
bootstrap = stdenv.mkDerivation {
|
bootstrap = stdenv.mkDerivation {
|
||||||
pname = "cyclone-bootstrap";
|
pname = "cyclone-bootstrap";
|
||||||
inherit version;
|
inherit version;
|
||||||
@ -10,7 +10,7 @@ let
|
|||||||
owner = "justinethier";
|
owner = "justinethier";
|
||||||
repo = "cyclone-bootstrap";
|
repo = "cyclone-bootstrap";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-/zAcCBdJ7YQXsspdjrMca1Oj9SUUFXQKLwZPoZLhHYg=";
|
sha256 = "sha256-kJBPb0Ej32HveY/vdGpH2gyxSwq8Xq7muneFIw3Y7hM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
|||||||
owner = "justinethier";
|
owner = "justinethier";
|
||||||
repo = "cyclone";
|
repo = "cyclone";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-a3wiqKlIbnvIhyrI0lyVGciQiM7KSuYH5iUfGFrgOuM=";
|
sha256 = "sha256-4U/uOTbFpPTC9BmO6Wkhy4PY8UCFVt5eHSGqrOlKT/U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "adafruit-platformdetect";
|
pname = "adafruit-platformdetect";
|
||||||
version = "3.19.1";
|
version = "3.19.2";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Adafruit-PlatformDetect";
|
pname = "Adafruit-PlatformDetect";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "sha256-mJ121SSoO7v2p+qCF5Va5+ppHQsHcFuyJDpyc6lykRI=";
|
sha256 = "sha256-zsnv3Lw+CWhNQ9ovXAuIujAXfkjiiWm797ncHIN3y/E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aioconsole";
|
pname = "aioconsole";
|
||||||
version = "0.3.3";
|
version = "0.3.3";
|
||||||
disabled = pythonOlder "3.6";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vxgmichel";
|
owner = "vxgmichel";
|
||||||
@ -36,7 +38,13 @@ buildPythonPackage rec {
|
|||||||
--replace "--cov aioconsole --count 2" ""
|
--replace "--cov aioconsole --count 2" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "aioconsole" ];
|
disabledTests = [
|
||||||
|
"test_interact_syntax_error"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"aioconsole"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Asynchronous console and interfaces for asyncio";
|
description = "Asynchronous console and interfaces for asyncio";
|
||||||
|
@ -2,33 +2,41 @@
|
|||||||
, isPy3k
|
, isPy3k
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, future
|
, pytestCheckHook
|
||||||
, mock
|
|
||||||
, nose
|
, nose
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "annexremote";
|
pname = "annexremote";
|
||||||
version = "1.6.0";
|
version = "1.6.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
# use fetchFromGitHub instead of fetchPypi because the test suite of
|
|
||||||
# the package is not included into the PyPI tarball
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
|
||||||
owner = "Lykos153";
|
owner = "Lykos153";
|
||||||
repo = "AnnexRemote";
|
repo = "AnnexRemote";
|
||||||
|
rev = "v${version}";
|
||||||
sha256 = "08myswj1vqkl4s1glykq6xn76a070nv5mxj0z8ibl6axz89bvypi";
|
sha256 = "08myswj1vqkl4s1glykq6xn76a070nv5mxj0z8ibl6axz89bvypi";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ future ];
|
checkInputs = [
|
||||||
|
nose
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ nose ] ++ lib.optional (!isPy3k) mock;
|
checkPhase = ''
|
||||||
checkPhase = "nosetests -v";
|
nosetests -v -e "^TestExport_MissingName" -e "^TestRemoveexportdirectory"
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"annexremote"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Helper module to easily develop git-annex remotes";
|
description = "Helper module to easily develop git-annex remotes";
|
||||||
homepage = "https://github.com/Lykos153/AnnexRemote";
|
homepage = "https://github.com/Lykos153/AnnexRemote";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ montag451 ];
|
maintainers = with maintainers; [ montag451 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "chiapos";
|
pname = "chiapos";
|
||||||
version = "1.0.7";
|
version = "1.0.8";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1e10ce00730d293ed83ed3a3c630d525c9256fe4e31e64abbda7aa054b8a753f";
|
sha256 = "64529b7f03e9ec0c1b9be7c7c1f30d4498e5d931ff2dbb10a9cc4597029d69f0";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -15,7 +15,6 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace "protobuf~=3.13.0" "protobuf" \
|
|
||||||
--replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev"
|
--replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -29,4 +28,10 @@ buildPythonPackage rec {
|
|||||||
freezegun
|
freezegun
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# unittest.mock.InvalidSpecError: Cannot autospec attr 'QuantumEngineServiceClient'
|
||||||
|
"test_get_engine_sampler_explicit_project_id"
|
||||||
|
"test_get_engine_sampler"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,9 @@ buildPythonPackage rec {
|
|||||||
--replace "httpx~=0.15.5" "httpx" \
|
--replace "httpx~=0.15.5" "httpx" \
|
||||||
--replace "idna~=2.10" "idna" \
|
--replace "idna~=2.10" "idna" \
|
||||||
--replace "pyjwt~=1.7.1" "pyjwt" \
|
--replace "pyjwt~=1.7.1" "pyjwt" \
|
||||||
--replace "qcs-api-client~=0.8.0" "qcs-api-client"
|
--replace "qcs-api-client~=0.8.0" "qcs-api-client" \
|
||||||
|
--replace "iso8601~=0.1.14" "iso8601" \
|
||||||
|
--replace "pydantic~=1.8.2" "pydantic"
|
||||||
# Remove outdated test
|
# Remove outdated test
|
||||||
rm cirq_rigetti/service_test.py
|
rm cirq_rigetti/service_test.py
|
||||||
'';
|
'';
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hahomematic";
|
pname = "hahomematic";
|
||||||
version = "0.16.0";
|
version = "0.17.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
owner = "danielperna84";
|
owner = "danielperna84";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-+l6VeF3vOO5MBW9FLlnE/Anm8vps2Sl6Nmf2N9QiArQ=";
|
sha256 = "sha256-Nhl2WLrqqvGaNEgJApcgZhSm4xoq62MzJC0MfEO5Xxw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -2,17 +2,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "labmath";
|
pname = "labmath";
|
||||||
version = "1.2.0";
|
version = "2.2.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-/fZ61tJ6PVZsubr3OXlbg/VxyyKimz36uPV+r33kgD0=";
|
sha256 = "sha256-dzJ4szPxnck0Cgc5IEp5FBmHvIyAC0rqKRVrkt20ntQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py --replace "labmath/DESCRIPTION.rst" "PKG-INFO"
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "labmath" ];
|
pythonImportsCheck = [ "labmath" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "mdformat";
|
pname = "mdformat";
|
||||||
version = "0.7.12";
|
version = "0.7.13";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "executablebooks";
|
owner = "executablebooks";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-h85UzzE84TksZipcbbBaOC/sPv8HQMwiEGCgTdi/8J0=";
|
sha256 = "sha256-9ssDe7Wjuwuq2j7xwRyLqKouqeIt6NCUbEXjPdu2VZ8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,21 +1,25 @@
|
|||||||
{ buildPythonPackage
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
|
||||||
|
|
||||||
# pythonPackages
|
# pythonPackages
|
||||||
, pytest
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
, pyyaml
|
, pyyaml
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "oyaml";
|
pname = "oyaml";
|
||||||
version = "1.0";
|
version = "unstable-2021-12-03";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wimglenn";
|
owner = "wimglenn";
|
||||||
repo = "oyaml";
|
repo = "oyaml";
|
||||||
rev = "v${version}";
|
rev = "d0195070d26bd982f1e4e604bded5510dd035cd7";
|
||||||
sha256 = "0qkj8g87drvjqiqqmz36gyqiczdfcfv8zk96kkifzk4f9dl5f02j";
|
hash = "sha256-1rSEhiULlAweLDqUFX+JBFxe3iW9kNlRA2zjcG8MYSg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -23,19 +27,17 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
pythonImportsCheck = [
|
||||||
pytest test_oyaml.py
|
"oyaml"
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Ordered YAML: drop-in replacement for PyYAML which preserves dict ordering";
|
description = "Drop-in replacement for PyYAML which preserves dict ordering";
|
||||||
homepage = "https://github.com/wimglenn/oyaml";
|
homepage = "https://github.com/wimglenn/oyaml";
|
||||||
license = lib.licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with maintainers; [ kamadorueda ];
|
||||||
kamadorueda
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pontos";
|
pname = "pontos";
|
||||||
version = "21.11.0";
|
version = "22.1.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "greenbone";
|
owner = "greenbone";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-uP4M1ShhKsvqnUixc3JUJVpNQOwYn8Gm2uWVcXhFKLg=";
|
sha256 = "sha256-/C7BiKWdMcUuKXxPTdttT79YjBDmwj9CG5W38YZHw2c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, attrs
|
, attrs
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, httpx
|
, httpx
|
||||||
, iso8601
|
, iso8601
|
||||||
|
, poetry-core
|
||||||
, pydantic
|
, pydantic
|
||||||
, pyjwt
|
, pyjwt
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
@ -19,15 +21,21 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "qcs-api-client";
|
pname = "qcs-api-client";
|
||||||
version = "0.20.9";
|
version = "0.20.9";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "rigetti";
|
||||||
sha256 = "7b4e890ca9d9996060690629eee88db49c5fa4bde520910d48dd20323d1c5574";
|
repo = "qcs-api-client-python";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-bQ+5TZzjxGnNRsENEW/sN7sF6SOcgWl4MFtLekD0D+8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
attrs
|
attrs
|
||||||
httpx
|
httpx
|
||||||
@ -46,15 +54,28 @@ buildPythonPackage rec {
|
|||||||
respx
|
respx
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Switch to poetry-core, https://github.com/rigetti/qcs-api-client-python/pull/2
|
||||||
|
(fetchpatch {
|
||||||
|
name = "switch-to-poetry-core.patch";
|
||||||
|
url = "https://github.com/rigetti/qcs-api-client-python/commit/32f0b3c7070a65f4edf5b2552648d88435469e44.patch";
|
||||||
|
sha256 = "sha256-mOc+Q/5cmwPziojtxeEMWWHSDvqvzZlNRbPtOSeTinQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "attrs>=20.1.0,<21.0.0" "attrs" \
|
--replace 'attrs = "^20.1.0"' 'attrs = "*"' \
|
||||||
--replace "httpx>=0.15.0,<0.16.0" "httpx" \
|
--replace 'httpx = "^0.15.0"' 'httpx = "*"' \
|
||||||
--replace "pyjwt>=1.7.1,<2.0.0" "pyjwt"
|
--replace 'iso8601 = "^0.1.13"' 'iso8601 = "*"' \
|
||||||
|
--replace 'pydantic = "^1.7.2"' 'pydantic = "*"' \
|
||||||
|
--replace 'pyjwt = "^1.7.1"' 'pyjwt = "*"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Project has no tests
|
disabledTestPaths = [
|
||||||
doCheck = false;
|
# Test is outdated
|
||||||
|
"tests/test_client/test_client.py"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"qcs_api_client"
|
"qcs_api_client"
|
||||||
|
@ -1,38 +1,61 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, requests
|
|
||||||
, betamax
|
, betamax
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchpatch
|
||||||
|
, fetchPypi
|
||||||
, mock
|
, mock
|
||||||
, pytest
|
|
||||||
, pyopenssl
|
, pyopenssl
|
||||||
|
, pytestCheckHook
|
||||||
|
, requests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "requests-toolbelt";
|
pname = "requests-toolbelt";
|
||||||
version = "0.9.1";
|
version = "0.9.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0";
|
hash = "sha256-loCJ1FhK1K18FxRU8KXG2sI5celHJSHqO21J1hCqb8A=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pyopenssl betamax mock pytest ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ requests ];
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkInputs = [
|
||||||
# disabled tests access the network
|
betamax
|
||||||
py.test tests -k "not test_no_content_length_header \
|
mock
|
||||||
and not test_read_file \
|
pyopenssl
|
||||||
and not test_reads_file_from_url_wrapper \
|
pytestCheckHook
|
||||||
and not test_x509_der \
|
];
|
||||||
and not test_x509_pem"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
patches = [
|
||||||
description = "A toolbelt of useful classes and functions to be used with python-requests";
|
(fetchpatch {
|
||||||
|
# Fix collections.abc deprecation warning, https://github.com/requests/toolbelt/pull/246
|
||||||
|
name = "fix-collections-abc-deprecation.patch";
|
||||||
|
url = "https://github.com/requests/toolbelt/commit/7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch";
|
||||||
|
sha256 = "sha256-pRkG77sNglG/KsRX6JaPgk4QxmmSBXypFRp/vNA3ot4=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# https://github.com/requests/toolbelt/issues/306
|
||||||
|
"test_no_content_length_header"
|
||||||
|
"test_read_file"
|
||||||
|
"test_reads_file_from_url_wrapper"
|
||||||
|
"test_x509_der"
|
||||||
|
"test_x509_pem"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"requests_toolbelt"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Toolbelt of useful classes and functions to be used with requests";
|
||||||
homepage = "http://toolbelt.rtfd.org";
|
homepage = "http://toolbelt.rtfd.org";
|
||||||
license = lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,52 +1,57 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
, botocore
|
||||||
, pythonOlder
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, docutils
|
, docutils
|
||||||
|
, fetchFromGitHub
|
||||||
, mock
|
, mock
|
||||||
, nose
|
, pytestCheckHook
|
||||||
, coverage
|
, pythonOlder
|
||||||
, wheel
|
, wheel
|
||||||
, unittest2
|
|
||||||
, botocore
|
|
||||||
, futures ? null
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "s3transfer";
|
pname = "s3transfer";
|
||||||
version = "0.5.0";
|
version = "0.5.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.6";
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-UO2CPh3FhorUDI3JIHL3V6oOZToZKEXJSjtnb0pi2kw=";
|
src = fetchFromGitHub {
|
||||||
|
owner = "boto";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-0Dl7oKB2xxq/a8do3HgBUIGay88yOGBUdOGo+QCtnUE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs = [
|
||||||
[
|
botocore
|
||||||
botocore
|
];
|
||||||
] ++ lib.optional (pythonOlder "3") futures;
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
docutils
|
docutils
|
||||||
mock
|
mock
|
||||||
nose
|
pytestCheckHook
|
||||||
coverage
|
|
||||||
wheel
|
wheel
|
||||||
unittest2
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
disabledTestPaths = [
|
||||||
pushd s3transfer/tests
|
# Requires network access
|
||||||
nosetests -v unit/ functional/
|
"tests/integration/test_copy.py"
|
||||||
popd
|
"tests/integration/test_delete.py"
|
||||||
'';
|
"tests/integration/test_download.py"
|
||||||
|
"tests/integration/test_processpool.py"
|
||||||
|
"tests/integration/test_s3transfer.py"
|
||||||
|
"tests/integration/test_upload.py"
|
||||||
|
];
|
||||||
|
|
||||||
# version on pypi has no tests/ dir
|
pythonImportsCheck = [
|
||||||
doCheck = false;
|
"s3transfer"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Library for managing Amazon S3 transfers";
|
||||||
homepage = "https://github.com/boto/s3transfer";
|
homepage = "https://github.com/boto/s3transfer";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
description = "A library for managing Amazon S3 transfers";
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
diff --git a/tensorflow_datasets/image_classification/corruptions.py b/tensorflow_datasets/image_classification/corruptions.py
|
||||||
|
index 066c4460..cb9a6667 100644
|
||||||
|
--- a/tensorflow_datasets/image_classification/corruptions.py
|
||||||
|
+++ b/tensorflow_datasets/image_classification/corruptions.py
|
||||||
|
@@ -35,7 +35,7 @@ FROST_FILENAMES = []
|
||||||
|
|
||||||
|
|
||||||
|
def _imagemagick_bin():
|
||||||
|
- return 'imagemagick' # pylint: disable=unreachable
|
||||||
|
+ return 'convert' # pylint: disable=unreachable
|
||||||
|
|
||||||
|
|
||||||
|
# /////////////// Corruption Helpers ///////////////
|
||||||
|
@@ -675,7 +675,7 @@ def spatter(x, severity=1):
|
||||||
|
# ker = np.array([[-1,-2,-3],[-2,0,0],[-3,0,1]], dtype=np.float32)
|
||||||
|
# ker -= np.mean(ker)
|
||||||
|
ker = np.array([[-2, -1, 0], [-1, 1, 1], [0, 1, 2]])
|
||||||
|
- dist = cv2.filter2D(dist, cv2.CVX_8U, ker)
|
||||||
|
+ dist = cv2.filter2D(dist, cv2.CV_8U, ker)
|
||||||
|
dist = cv2.blur(dist, (3, 3)).astype(np.float32)
|
||||||
|
|
||||||
|
m = cv2.cvtColor(liquid_layer * dist, cv2.COLOR_GRAY2BGRA)
|
141
pkgs/development/python-modules/tensorflow-datasets/default.nix
Normal file
141
pkgs/development/python-modules/tensorflow-datasets/default.nix
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
{ apache-beam
|
||||||
|
, attrs
|
||||||
|
, beautifulsoup4
|
||||||
|
, buildPythonPackage
|
||||||
|
, dill
|
||||||
|
, dm-tree
|
||||||
|
, fetchFromGitHub
|
||||||
|
, ffmpeg
|
||||||
|
, future
|
||||||
|
, imagemagick
|
||||||
|
, importlib-resources
|
||||||
|
, jinja2
|
||||||
|
, langdetect
|
||||||
|
, lib
|
||||||
|
, matplotlib
|
||||||
|
, mwparserfromhell
|
||||||
|
, networkx
|
||||||
|
, nltk
|
||||||
|
, numpy
|
||||||
|
, opencv4
|
||||||
|
, pandas
|
||||||
|
, pillow
|
||||||
|
, promise
|
||||||
|
, protobuf
|
||||||
|
, pycocotools
|
||||||
|
, pydub
|
||||||
|
, pytestCheckHook
|
||||||
|
, requests
|
||||||
|
, scikitimage
|
||||||
|
, scipy
|
||||||
|
, six
|
||||||
|
, tensorflow
|
||||||
|
, tensorflow-metadata
|
||||||
|
, termcolor
|
||||||
|
, tifffile
|
||||||
|
, tqdm
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "tensorflow-datasets";
|
||||||
|
version = "4.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tensorflow";
|
||||||
|
repo = "datasets";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "11kbpv54nwr0xf7z5mkj2lmrfqfmcdq8qcpapnqck1kiawr3yad6";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# addresses https://github.com/tensorflow/datasets/issues/3673
|
||||||
|
./corruptions.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
attrs
|
||||||
|
dill
|
||||||
|
dm-tree
|
||||||
|
future
|
||||||
|
importlib-resources
|
||||||
|
numpy
|
||||||
|
promise
|
||||||
|
protobuf
|
||||||
|
requests
|
||||||
|
six
|
||||||
|
tensorflow-metadata
|
||||||
|
termcolor
|
||||||
|
tqdm
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"tensorflow_datasets"
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
apache-beam
|
||||||
|
beautifulsoup4
|
||||||
|
ffmpeg
|
||||||
|
imagemagick
|
||||||
|
jinja2
|
||||||
|
langdetect
|
||||||
|
matplotlib
|
||||||
|
mwparserfromhell
|
||||||
|
networkx
|
||||||
|
nltk
|
||||||
|
opencv4
|
||||||
|
pandas
|
||||||
|
pillow
|
||||||
|
pycocotools
|
||||||
|
pydub
|
||||||
|
pytestCheckHook
|
||||||
|
scikitimage
|
||||||
|
scipy
|
||||||
|
tensorflow
|
||||||
|
tifffile
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Sandbox violations: network access, filesystem write attempts outside of build dir, ...
|
||||||
|
"tensorflow_datasets/core/dataset_builder_test.py"
|
||||||
|
"tensorflow_datasets/core/dataset_info_test.py"
|
||||||
|
"tensorflow_datasets/core/features/features_test.py"
|
||||||
|
"tensorflow_datasets/core/github_api/github_path_test.py"
|
||||||
|
"tensorflow_datasets/core/utils/gcs_utils_test.py"
|
||||||
|
"tensorflow_datasets/scripts/cli/build_test.py"
|
||||||
|
|
||||||
|
# Requires `pretty_midi` which is not packaged in `nixpkgs`.
|
||||||
|
"tensorflow_datasets/audio/groove_test.py"
|
||||||
|
|
||||||
|
# Requires `crepe` which is not packaged in `nixpkgs`.
|
||||||
|
"tensorflow_datasets/audio/nsynth_test.py"
|
||||||
|
|
||||||
|
# Requires `gcld3` and `pretty_midi` which are not packaged in `nixpkgs`.
|
||||||
|
"tensorflow_datasets/core/lazy_imports_lib_test.py"
|
||||||
|
|
||||||
|
# Requires `tensorflow_io` which is not packaged in `nixpkgs`.
|
||||||
|
"tensorflow_datasets/image/lsun_test.py"
|
||||||
|
|
||||||
|
# Fails with `TypeError: Constant constructor takes either 0 or 2 positional arguments`
|
||||||
|
# deep in TF AutoGraph. Doesn't reproduce in Docker with Ubuntu 22.04 => might be related
|
||||||
|
# to the differences in some of the dependencies?
|
||||||
|
"tensorflow_datasets/rl_unplugged/rlu_atari/rlu_atari_test.py"
|
||||||
|
|
||||||
|
# Requires `tensorflow_docs` which is not packaged in `nixpkgs` and the test is for documentation anyway.
|
||||||
|
"tensorflow_datasets/scripts/documentation/build_api_docs_test.py"
|
||||||
|
|
||||||
|
# Not a test, should not be executed.
|
||||||
|
"tensorflow_datasets/testing/test_utils.py"
|
||||||
|
|
||||||
|
# Require `gcld3` and `nltk.punkt` which are not packaged in `nixpkgs`.
|
||||||
|
"tensorflow_datasets/text/c4_test.py"
|
||||||
|
"tensorflow_datasets/text/c4_utils_test.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Library of datasets ready to use with TensorFlow";
|
||||||
|
homepage = "https://www.tensorflow.org/datasets/overview";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ ndl ];
|
||||||
|
};
|
||||||
|
}
|
@ -37,6 +37,10 @@ buildPythonPackage rec {
|
|||||||
"fallback_when_no_hook_claims_it"
|
"fallback_when_no_hook_claims_it"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"-W" "ignore::DeprecationWarning"
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
attrs
|
attrs
|
||||||
sortedcontainers
|
sortedcontainers
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "vt-py";
|
pname = "vt-py";
|
||||||
version = "0.13.0";
|
version = "0.13.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||||||
owner = "VirusTotal";
|
owner = "VirusTotal";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-yf1p56+mGVzG4HBlbIp/HvNSYJGQufzYjmPrtITaV5o=";
|
sha256 = "sha256-85ohhynXHWjuwKB18DciB48tNGZcHzafobMDaGoTkoc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
, pandas
|
, pandas
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools
|
|
||||||
, setuptoolsBuildHook
|
, setuptoolsBuildHook
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -21,14 +21,16 @@ buildPythonPackage rec {
|
|||||||
sha256 = "sha256-wuvoDKgbEKAkH2h23MNKyWluXFzc30dY2nz0vXMsQfc=";
|
sha256 = "sha256-wuvoDKgbEKAkH2h23MNKyWluXFzc30dY2nz0vXMsQfc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
SETUPTOOLS_SCM_PRETEND_VERSION="${version}";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptoolsBuildHook
|
setuptoolsBuildHook
|
||||||
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
numpy
|
numpy
|
||||||
pandas
|
pandas
|
||||||
setuptools
|
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -6,30 +6,6 @@ let
|
|||||||
py = python3.override {
|
py = python3.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
|
|
||||||
boto3 = super.boto3.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "1.17.112";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "1byqrffbgpp1mq62gnn3w3hnm54dfar0cwgvmkl7mrgbwz5xmdh8";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
botocore = super.botocore.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "1.20.112";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "1ksdjh3mwbzgqgfj58vyrhann23b9gqam8id2svmpdmmdq5vgffh";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
s3transfer = super.s3transfer.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "0.4.2";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "1cp169vz9rvng7dwbn33fgdbl3b014zpsdqsnfxxw7jm2r5jy0nb";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
dpath = super.dpath.overridePythonAttrs (oldAttrs: rec {
|
dpath = super.dpath.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "1.5.0";
|
version = "1.5.0";
|
||||||
src = oldAttrs.src.override {
|
src = oldAttrs.src.override {
|
||||||
@ -52,7 +28,7 @@ buildPythonApplication rec {
|
|||||||
owner = "bridgecrewio";
|
owner = "bridgecrewio";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-qnRYxbw42vN0w+x1ARRz60e8q9LCPWglprOBm7rkxsE=";
|
hash = "sha256-qnRYxbw42vN0w+x1ARRz60e8q9LCPWglprOBm7rkxsE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with py.pkgs; [
|
nativeBuildInputs = with py.pkgs; [
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "crd2pulumi";
|
pname = "crd2pulumi";
|
||||||
version = "1.0.10";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pulumi";
|
owner = "pulumi";
|
||||||
repo = "crd2pulumi";
|
repo = "crd2pulumi";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1xzr63brzqysvhm3fqj246c7s84kchpcm6wad3mvxcxjcab6xd1f";
|
sha256 = "sha256-7eNjOVTbZVpjQZPo69DgVCLCXqWnb0UVKd/DIY9Tq08=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0xi5va2fy4nrxp3qgyzcw20a2089sbz8h1hvqx2ryxijr61wd93d";
|
vendorSha256 = "sha256-XM1uedApVLkFzUpNPYS5YyMiWrOpzTvqKjWIV7s/1mI=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X github.com/pulumi/crd2pulumi/gen.Version=${src.rev}" ];
|
ldflags = [ "-s" "-w" "-X github.com/pulumi/crd2pulumi/gen.Version=${src.rev}" ];
|
||||||
|
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "sqlfluff";
|
pname = "sqlfluff";
|
||||||
version = "0.9.0";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-AxK5pRuNkhJokuuv/5/ZJxZ2J9d6XLFPZJWQfq9baaU=";
|
hash = "sha256-sA9iMTDQ7SjaRG0/Uy+wGQ/2yQDqbZP6M5r1lFLBex4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
buildGo117Module rec {
|
buildGo117Module rec {
|
||||||
pname = "fq";
|
pname = "fq";
|
||||||
version = "0.0.2";
|
version = "0.0.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wader";
|
owner = "wader";
|
||||||
repo = "fq";
|
repo = "fq";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ykjt9MPkN5dgTaY2VhApNt5DKh9TFapMpoHwLdpOKcw=";
|
sha256 = "sha256-yC2Hd7sUPA7SCJNWYlD1u3u9kfTEtkFwdUrNeYoi5xU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-89rSpxhP35wreo+0AqM+rDICCPchF+yFVvrTtZ2Xwr4=";
|
vendorSha256 = "sha256-89rSpxhP35wreo+0AqM+rDICCPchF+yFVvrTtZ2Xwr4=";
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ginkgo";
|
pname = "ginkgo";
|
||||||
version = "1.16.5";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "onsi";
|
owner = "onsi";
|
||||||
repo = "ginkgo";
|
repo = "ginkgo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-v2JcH2jqB7ffF0mS6aOHM3bODf9eyGwmigp4kfCxBsI=";
|
sha256 = "sha256-a3AZ/7UfB9qjMK9yWHSaBRnDA/5FmIGGxXAvNhcfKCc=";
|
||||||
};
|
};
|
||||||
vendorSha256 = "sha256-tS8YCGVOsfQp02vY6brmE3pxi70GG9DYcp1JDkcVG9Y=";
|
vendorSha256 = "sha256-kMQ60HdsorZU27qoOY52DpwFwP+Br2bp8mRx+ZwnQlI=";
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "htmlq";
|
pname = "htmlq";
|
||||||
version = "0.3.0";
|
version = "0.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mgdm";
|
owner = "mgdm";
|
||||||
repo = "htmlq";
|
repo = "htmlq";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-pTw+dsbbFwrPIxCimMsYfyAF2zVeudebxVtMQV1cJnE=";
|
sha256 = "sha256-kZtK2QuefzfxxuE1NjXphR7otr+RYfMif/RSpR6TxY0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-jeoSA7w2bk0R3L+/FDn/b+ddTCqY8zFr/2GCxI7OCzM=";
|
cargoSha256 = "sha256-r9EnQQPGpPIcNYb1eqGrMnRdh0snIa5iVsTYTI+YErY=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "mmixware";
|
pname = "mmixware";
|
||||||
version = "unstable-2019-02-19";
|
version = "unstable-2021-06-18";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.lrz.de";
|
domain = "gitlab.lrz.de";
|
||||||
owner = "mmix";
|
owner = "mmix";
|
||||||
repo = "mmixware";
|
repo = "mmixware";
|
||||||
rev = "a330d68aafcfe739ecaaece888a669b8e7d9bcb8";
|
rev = "7c790176d50d13ae2422fa7457ccc4c2d29eba9b";
|
||||||
sha256 = "0bq0d19vqhfbpk4mcqzmd0hygbkhapl1mzlfkcr6afx0fhlhi087";
|
sha256 = "sha256-eSwHiJ5SP/Nennalv4QFTgVnM6oan/DWDZRqtk0o6Z0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-generate";
|
pname = "cargo-generate";
|
||||||
version = "0.11.1";
|
version = "0.12.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ashleygwilliams";
|
owner = "ashleygwilliams";
|
||||||
repo = "cargo-generate";
|
repo = "cargo-generate";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-t0vIuJUGPgHQFBezmEMOlEJItwOJHlIQMFvcUZlx9is=";
|
sha256 = "sha256-VMcyBa8bjH4n8hKS+l5xcaQCBYkBVWjDV2uk4JmhxFs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-esfiMnnij3Tf1qROVViPAqXFJA4DAHarV44pK5zpDrc=";
|
cargoSha256 = "sha256-9RMzvZLGRFGJ0Bw2is2aeRCoLzHsZZ6LCfoCTrKjHbo=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -258,7 +258,7 @@ let
|
|||||||
|
|
||||||
packages = { home-manager = { start = [vimPlugins.vim-fugitive]; opt = [];};
|
packages = { home-manager = { start = [vimPlugins.vim-fugitive]; opt = [];};
|
||||||
beforePlugins = '';
|
beforePlugins = '';
|
||||||
customRc = ''let mapleader = " "'';
|
customRC = ''let mapleader = " "'';
|
||||||
|
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
@ -867,8 +867,8 @@ let
|
|||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "vscode-pull-request-github";
|
name = "vscode-pull-request-github";
|
||||||
publisher = "github";
|
publisher = "github";
|
||||||
version = "0.35.2021122109";
|
version = "0.35.2022010609";
|
||||||
sha256 = "1n7vjwxm92ibwhgn2n57p54dqpi0vvyllmcgjxilgnr14irg5457";
|
sha256 = "06ryx8b605fd1q2zz8jps7j8r506qwym93x1ra1kc0h9g8a8r7sa";
|
||||||
};
|
};
|
||||||
meta = { license = lib.licenses.mit; };
|
meta = { license = lib.licenses.mit; };
|
||||||
};
|
};
|
||||||
@ -1391,6 +1391,18 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pkief.material-product-icons = buildVscodeMarketplaceExtension {
|
||||||
|
mktplcRef = {
|
||||||
|
name = "material-product-icons";
|
||||||
|
publisher = "PKief";
|
||||||
|
version = "1.1.1";
|
||||||
|
sha256 = "a0bd0eff67793828768135fd839f28db0949da9a310db312beb0781f2164fd47";
|
||||||
|
};
|
||||||
|
meta = {
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
rubbersheep.gi = buildVscodeMarketplaceExtension {
|
rubbersheep.gi = buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = {
|
||||||
name = "gi";
|
name = "gi";
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "autosuspend";
|
pname = "autosuspend";
|
||||||
version = "4.0.1";
|
version = "4.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "languitar";
|
owner = "languitar";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "149b4qn3nmz48ydnlcgks3as3zzzzn3f5cvj3kdxqxjy4c052lpz";
|
sha256 = "0vn1qhsmjlgd7gn11w938kraz55xyixpzrgq06dar066hcsn1x8w";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, fetchpatch
|
{ lib, stdenv, fetchurl
|
||||||
# native deps.
|
# native deps.
|
||||||
, runCommand, pkg-config, meson, ninja, makeWrapper
|
, runCommand, pkg-config, meson, ninja, makeWrapper
|
||||||
# build+runtime deps.
|
# build+runtime deps.
|
||||||
@ -17,23 +17,15 @@ lua = luajitPackages;
|
|||||||
|
|
||||||
unwrapped = stdenv.mkDerivation rec {
|
unwrapped = stdenv.mkDerivation rec {
|
||||||
pname = "knot-resolver";
|
pname = "knot-resolver";
|
||||||
version = "5.4.3";
|
version = "5.4.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
|
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
|
||||||
sha256 = "488729eb93190336b6bca10de0d78ecb7919f77fcab105debc0a644aa7d0a506";
|
sha256 = "588964319e943679d391cc9c886d40ef858ecd9b33ae160023b4e2b5182b2cea";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch { # https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1237
|
|
||||||
name = "console.aws.amazon.com-fix.patch";
|
|
||||||
url = "https://gitlab.nic.cz/knot/knot-resolver/-/commit/f4dabfbec9273703.diff";
|
|
||||||
sha256 = "3J+FDwNQ6CqIGo9pSzhrQZlHX99vXFDpPOBpwpCnOxs=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# Path fixups for the NixOS service.
|
# Path fixups for the NixOS service.
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patch meson.build <<EOF
|
patch meson.build <<EOF
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
{ lib, python3, groff, less, fetchFromGitHub }:
|
{ lib
|
||||||
|
, python3
|
||||||
|
, groff
|
||||||
|
, less
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
py = python3.override {
|
py = python3.override {
|
||||||
packageOverrides = self: super: {
|
packageOverrides = self: super: {
|
||||||
@ -10,7 +15,9 @@ let
|
|||||||
sha256 = "sha256:1cmfkcv2zzirxsb989vx1hvna9nv24pghcvypl0zaxsjphv97mka";
|
sha256 = "sha256:1cmfkcv2zzirxsb989vx1hvna9nv24pghcvypl0zaxsjphv97mka";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
botocore = super.botocore.overridePythonAttrs (oldAttrs: rec {
|
botocore = super.botocore.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
# Releases: https://github.com/boto/botocore/commits/v2
|
||||||
version = "2.0.0dev155";
|
version = "2.0.0dev155";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "boto";
|
owner = "boto";
|
||||||
@ -20,6 +27,7 @@ let
|
|||||||
};
|
};
|
||||||
propagatedBuildInputs = super.botocore.propagatedBuildInputs ++ [py.pkgs.awscrt];
|
propagatedBuildInputs = super.botocore.propagatedBuildInputs ++ [py.pkgs.awscrt];
|
||||||
});
|
});
|
||||||
|
|
||||||
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
|
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "2.0.10";
|
version = "2.0.10";
|
||||||
src = oldAttrs.src.override {
|
src = oldAttrs.src.override {
|
||||||
@ -27,41 +35,21 @@ let
|
|||||||
sha256 = "1nr990i4b04rnlw1ghd0xmgvvvhih698mb6lb6jylr76cs7zcnpi";
|
sha256 = "1nr990i4b04rnlw1ghd0xmgvvvhih698mb6lb6jylr76cs7zcnpi";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
s3transfer = super.s3transfer.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "0.4.2";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "sha256-ywIvSxZVHt67sxo3fT8JYA262nNj2MXbeXbn9Hcy4bI=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
with py.pkgs; buildPythonApplication rec {
|
with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "awscli2";
|
pname = "awscli2";
|
||||||
version = "2.3.4"; # N.B: if you change this, change botocore to a matching version too
|
version = "2.4.9"; # N.B: if you change this, change botocore to a matching version too
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aws";
|
owner = "aws";
|
||||||
repo = "aws-cli";
|
repo = "aws-cli";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-C/NrU+1AixuN4T1N5Zs8xduUQiwuQWvXkitQRnPJdNw=";
|
sha256 = "sha256-ihmbw+gS7zZz/nebrmpEr9MR+dVabc70DBPPSrm3eeE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.cfg \
|
|
||||||
--replace "colorama>=0.2.5,<0.4.4" "colorama" \
|
|
||||||
--replace "cryptography>=3.3.2,<3.4.0" "cryptography" \
|
|
||||||
--replace "docutils>=0.10,<0.16" "docutils" \
|
|
||||||
--replace "ruamel.yaml>=0.15.0,<0.16.0" "ruamel.yaml" \
|
|
||||||
--replace "s3transfer>=0.4.2,<0.5.0" "s3transfer" \
|
|
||||||
--replace "wcwidth<0.2.0" "wcwidth" \
|
|
||||||
--replace "distro>=1.5.0,<1.6.0" "distro"
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkInputs = [ jsonschema mock pytestCheckHook pytest-xdist ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
awscrt
|
awscrt
|
||||||
bcdoc
|
bcdoc
|
||||||
@ -76,11 +64,26 @@ with py.pkgs; buildPythonApplication rec {
|
|||||||
pyyaml
|
pyyaml
|
||||||
rsa
|
rsa
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
s3transfer
|
|
||||||
six
|
|
||||||
wcwidth
|
wcwidth
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
jsonschema
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-xdist
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "colorama>=0.2.5,<0.4.4" "colorama" \
|
||||||
|
--replace "cryptography>=3.3.2,<3.4.0" "cryptography" \
|
||||||
|
--replace "docutils>=0.10,<0.16" "docutils" \
|
||||||
|
--replace "ruamel.yaml>=0.15.0,<0.16.0" "ruamel.yaml" \
|
||||||
|
--replace "wcwidth<0.2.0" "wcwidth" \
|
||||||
|
--replace "distro>=1.5.0,<1.6.0" "distro"
|
||||||
|
'';
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export PATH=$PATH:$out/bin
|
export PATH=$PATH:$out/bin
|
||||||
|
|
||||||
|
@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "disfetch";
|
pname = "disfetch";
|
||||||
version = "2.15";
|
version = "3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "q60";
|
owner = "q60";
|
||||||
repo = "disfetch";
|
repo = "disfetch";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-1BxBeZfZK/vjUgTZknQLTLyWnI4LYyc1BmQeMcbwFP8=";
|
sha256 = "sha256-NsYfKnWwkPLd//YU8p9e8jeoM8ZmbBlzi2jkHBOXT/M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
@ -7,16 +7,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "assh";
|
pname = "assh";
|
||||||
version = "2.12.1";
|
version = "2.12.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "advanced-ssh-config";
|
repo = "advanced-ssh-config";
|
||||||
owner = "moul";
|
owner = "moul";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1r3fny4k1crpjasgsp09qf0p3l9vg8c0ddbb8jd6qnqnwwprqfxd";
|
sha256 = "sha256-KVxEhA9tXAUhqMZ+MLX7Xk5aoaOcukiVFMLme9eHTUw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "14x7m900mxiwgbbxs56pdqsmx56c4qir5j4dz57bwr10rmh25fy4";
|
vendorSha256 = "sha256-xLsiYM0gZL5O+Y3IkiMmzJReNW7XFN3Xejz2CkCqp5M=";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "crowdin-cli";
|
pname = "crowdin-cli";
|
||||||
version = "3.7.4";
|
version = "3.7.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/crowdin/${pname}/releases/download/${version}/${pname}.zip";
|
url = "https://github.com/crowdin/${pname}/releases/download/${version}/${pname}.zip";
|
||||||
sha256 = "sha256-zsd95dkKzuhqtWFwc84tjZ05MnzE25UvfF459gfp+lA=";
|
sha256 = "sha256-p2lfE3fxUpgTGgIP6KojQ5uC3kF7KWDIU2ILpi90Sso=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles makeWrapper unzip ];
|
nativeBuildInputs = [ installShellFiles makeWrapper unzip ];
|
||||||
|
@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ugrep";
|
pname = "ugrep";
|
||||||
version = "3.4.0";
|
version = "3.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Genivia";
|
owner = "Genivia";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-G9MM5dIc1B8tggCQKIk+f39cv/Xb0rTLOqDYEsHwI4A=";
|
sha256 = "sha256-4A0UrXSJhV330W6phNDfqd/iNWYmKuzYUwr4gfTndQw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -9561,6 +9561,8 @@ in {
|
|||||||
lmdb-core = pkgs.lmdb;
|
lmdb-core = pkgs.lmdb;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tensorflow-datasets = callPackage ../development/python-modules/tensorflow-datasets { };
|
||||||
|
|
||||||
tensorflow-estimator = callPackage ../development/python-modules/tensorflow-estimator { };
|
tensorflow-estimator = callPackage ../development/python-modules/tensorflow-estimator { };
|
||||||
|
|
||||||
tensorflow-metadata = callPackage ../development/python-modules/tensorflow-metadata { };
|
tensorflow-metadata = callPackage ../development/python-modules/tensorflow-metadata { };
|
||||||
|
Loading…
Reference in New Issue
Block a user