mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
Merge remote-tracking branch 'origin/master' into haskell-updates
This commit is contained in:
commit
6b8bbdfdc0
|
@ -1409,6 +1409,12 @@
|
|||
githubId = 164148;
|
||||
name = "Ben Darwin";
|
||||
};
|
||||
bdd = {
|
||||
email = "bdd@mindcast.org";
|
||||
github = "bdd";
|
||||
githubId = 11135;
|
||||
name = "Berk D. Demir";
|
||||
};
|
||||
bdesham = {
|
||||
email = "benjamin@esham.io";
|
||||
github = "bdesham";
|
||||
|
|
|
@ -492,7 +492,7 @@ let
|
|||
auth ${ussh.control} ${pkgs.pam_ussh}/lib/security/pam_ussh.so ${optionalString (ussh.caFile != null) "ca_file=${ussh.caFile}"} ${optionalString (ussh.authorizedPrincipals != null) "authorized_principals=${ussh.authorizedPrincipals}"} ${optionalString (ussh.authorizedPrincipalsFile != null) "authorized_principals_file=${ussh.authorizedPrincipalsFile}"} ${optionalString (ussh.group != null) "group=${ussh.group}"}
|
||||
'') +
|
||||
(let oath = config.security.pam.oath; in optionalString cfg.oathAuth ''
|
||||
auth requisite ${pkgs.oathToolkit}/lib/security/pam_oath.so window=${toString oath.window} usersfile=${toString oath.usersFile} digits=${toString oath.digits}
|
||||
auth requisite ${pkgs.oath-toolkit}/lib/security/pam_oath.so window=${toString oath.window} usersfile=${toString oath.usersFile} digits=${toString oath.digits}
|
||||
'') +
|
||||
(let yubi = config.security.pam.yubico; in optionalString cfg.yubicoAuth ''
|
||||
auth ${yubi.control} ${pkgs.yubico-pam}/lib/security/pam_yubico.so mode=${toString yubi.mode} ${optionalString (yubi.challengeResponsePath != null) "chalresp_path=${yubi.challengeResponsePath}"} ${optionalString (yubi.mode == "client") "id=${toString yubi.id}"} ${optionalString yubi.debug "debug"}
|
||||
|
@ -1131,7 +1131,7 @@ in
|
|||
++ optional config.services.sssd.enable pkgs.sssd
|
||||
++ optionals config.krb5.enable [pam_krb5 pam_ccreds]
|
||||
++ optionals config.security.pam.enableOTPW [ pkgs.otpw ]
|
||||
++ optionals config.security.pam.oath.enable [ pkgs.oathToolkit ]
|
||||
++ optionals config.security.pam.oath.enable [ pkgs.oath-toolkit ]
|
||||
++ optionals config.security.pam.p11.enable [ pkgs.pam_p11 ]
|
||||
++ optionals config.security.pam.u2f.enable [ pkgs.pam_u2f ];
|
||||
|
||||
|
@ -1221,7 +1221,7 @@ in
|
|||
mr ${pkgs.pam_ussh}/lib/security/pam_ussh.so,
|
||||
'' +
|
||||
optionalString (isEnabled (cfg: cfg.oathAuth)) ''
|
||||
"mr ${pkgs.oathToolkit}/lib/security/pam_oath.so,
|
||||
"mr ${pkgs.oath-toolkit}/lib/security/pam_oath.so,
|
||||
'' +
|
||||
optionalString (isEnabled (cfg: cfg.yubicoAuth)) ''
|
||||
mr ${pkgs.yubico-pam}/lib/security/pam_yubico.so,
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
# how many passwords have been made. In this env, we'll always be on
|
||||
# the 0th counter, so the password is static.
|
||||
#
|
||||
# Generated in nix-shell -p oathToolkit
|
||||
# Generated in nix-shell -p oath-toolkit
|
||||
# via: oathtool -v -d6 -w10 cdd4083ef8ff1fa9178c6d46bfb1a3
|
||||
# and picking a the first 4:
|
||||
oathSnakeOilPassword1 = "143349";
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "tut";
|
||||
version = "0.0.42";
|
||||
version = "0.0.46";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RasmusLindroth";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-zWhG9lzerzDqqFN8IG5JSv3voLzvtp/gg6jBisbodMc=";
|
||||
sha256 = "sha256-C9kyA6QuL8sqzCooaPzSP7VOpu7jcSFCUx9oaZLZ7/w=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-kMGEAN/I2XsIc6zCDbhbbstYlyjDpXQsOPUzjaJqJBk=";
|
||||
|
|
|
@ -1,42 +1,47 @@
|
|||
{ lib
|
||||
, asciidoc
|
||||
, fetchFromGitHub
|
||||
, buildPythonApplication
|
||||
, asciidoc-full
|
||||
, docopt
|
||||
, gettext
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, keyutils
|
||||
, installShellFiles
|
||||
, libappindicator-gtk3
|
||||
, libnotify
|
||||
, librsvg
|
||||
, nose
|
||||
, pygobject3
|
||||
, pyyaml
|
||||
, python3
|
||||
, udisks2
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "udiskie";
|
||||
version = "2.4.0";
|
||||
version = "2.4.2";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coldfix";
|
||||
repo = "udiskie";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-T4kMPMXfehZT7P+TOd1llR2TbHPA/quNL545xxlmJfE=";
|
||||
hash = "sha256-lQMJVSY3JeZYYOFDyV29Ye2j8r+ngE/ta2wQYipy4hU=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
patches = [
|
||||
./locale-path.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace udiskie/locale.py --subst-var out
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
asciidoc-full # Man page
|
||||
gettext
|
||||
asciidoc # Man page
|
||||
gobject-introspection
|
||||
installShellFiles
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
buildInputs = [
|
||||
gobject-introspection
|
||||
gtk3
|
||||
|
@ -46,8 +51,9 @@ buildPythonApplication rec {
|
|||
udisks2
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
docopt
|
||||
keyutils
|
||||
pygobject3
|
||||
pyyaml
|
||||
];
|
||||
|
@ -57,21 +63,20 @@ buildPythonApplication rec {
|
|||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $man/share/man/man8
|
||||
cp -v doc/udiskie.8 $man/share/man/man8/
|
||||
installManPage doc/udiskie.8
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
keyutils
|
||||
nose
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/coldfix/udiskie";
|
||||
changelog = "https://github.com/coldfix/udiskie/blob/${src.rev}/CHANGES.rst";
|
||||
description = "Removable disk automounter for udisks";
|
||||
longDescription = ''
|
||||
udiskie is a udisks2 front-end that allows to manage removeable media such
|
||||
|
@ -88,6 +93,6 @@ buildPythonApplication rec {
|
|||
- password caching (requires python keyutils 0.3)
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
maintainers = with maintainers; [ AndersonTorres dotlambda ];
|
||||
};
|
||||
}
|
||||
|
|
17
pkgs/applications/misc/udiskie/locale-path.patch
Normal file
17
pkgs/applications/misc/udiskie/locale-path.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/udiskie/locale.py b/udiskie/locale.py
|
||||
index f12bea9..450e38b 100644
|
||||
--- a/udiskie/locale.py
|
||||
+++ b/udiskie/locale.py
|
||||
@@ -10,10 +10,8 @@ from gettext import translation
|
||||
testdirs = [
|
||||
# manual override:
|
||||
os.environ.get('TEXTDOMAINDIR'),
|
||||
- # editable installation:
|
||||
- os.path.join(os.path.dirname(__file__), '../build/locale'),
|
||||
- # user or virtualenv installation:
|
||||
- os.path.join(sys.prefix, 'share/locale'),
|
||||
+ # Nix installation:
|
||||
+ os.path.join('@out@', 'share/locale'),
|
||||
]
|
||||
testfile = 'en_US/LC_MESSAGES/udiskie.mo'
|
||||
localedir = next(
|
|
@ -12,11 +12,11 @@ assert enablePrinting -> cups != null;
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xpdf";
|
||||
version = "4.03";
|
||||
version = "4.04";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://dl.xpdfreader.com/xpdf-${version}.tar.gz";
|
||||
sha256 = "09yhvmh1vxjy763nnmawynygp5bh3j4i8ixqja64j11676yl77n6";
|
||||
hash = "sha256-ujH9KDwFRjPIKwdMg79Mab9BfA2HooY5+2PESUgnGDY=";
|
||||
};
|
||||
|
||||
# Fix "No known features for CXX compiler", see
|
||||
|
|
|
@ -49,6 +49,9 @@
|
|||
, pulseSupport ? stdenv.isLinux
|
||||
, libpulseaudio
|
||||
|
||||
# For GPU acceleration support on Wayland (without the lib it doesn't seem to work)
|
||||
, libGL
|
||||
|
||||
# For video acceleration via VA-API (--enable-features=VaapiVideoDecoder,VaapiVideoEncoder)
|
||||
, libvaSupport ? stdenv.isLinux
|
||||
, libva
|
||||
|
@ -66,7 +69,7 @@ let
|
|||
|
||||
deps = [
|
||||
alsa-lib at-spi2-atk at-spi2-core atk cairo cups dbus expat
|
||||
fontconfig freetype gdk-pixbuf glib gtk3 libdrm libX11
|
||||
fontconfig freetype gdk-pixbuf glib gtk3 libdrm libX11 libGL
|
||||
libxkbcommon libXScrnSaver libXcomposite libXcursor libXdamage
|
||||
libXext libXfixes libXi libXrandr libXrender libxshmfence
|
||||
libXtst libuuid mesa nspr nss pango pipewire udev wayland
|
||||
|
@ -128,9 +131,9 @@ stdenv.mkDerivation rec {
|
|||
ln -sf $BINARYWRAPPER $out/bin/brave
|
||||
|
||||
for exe in $out/opt/brave.com/brave/{brave,chrome_crashpad_handler}; do
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "${rpath}" $exe
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "${rpath}" $exe
|
||||
done
|
||||
|
||||
# Fix paths
|
||||
|
@ -170,10 +173,10 @@ stdenv.mkDerivation rec {
|
|||
${optionalString (disableFeatures != []) ''
|
||||
--add-flags "--disable-features=${strings.concatStringsSep "," disableFeatures}"
|
||||
''}
|
||||
--add-flags ${escapeShellArg commandLineArgs}
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
|
||||
${optionalString vulkanSupport ''
|
||||
--prefix XDG_DATA_DIRS : "${addOpenGLRunpath.driverLink}/share"
|
||||
--add-flags ${escapeShellArg commandLineArgs}
|
||||
''}
|
||||
)
|
||||
'';
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, callPackage, stdenvNoCC }:
|
||||
let
|
||||
pname = "caprine";
|
||||
version = "2.55.2";
|
||||
version = "2.55.4";
|
||||
metaCommon = with lib; {
|
||||
description = "An elegant Facebook Messenger desktop app";
|
||||
homepage = "https://sindresorhus.com/caprine";
|
||||
|
@ -10,11 +10,11 @@ let
|
|||
};
|
||||
x86_64-appimage = callPackage ./build-from-appimage.nix {
|
||||
inherit pname version metaCommon;
|
||||
sha256 = "J7eHVXjWSIcTpLMM8FlGKZzVh6XgpQ0d82kxfMbPyZ4=";
|
||||
sha256 = "221PyDoCkWqDdewCkFycpjMTcVOcl58blCjrC7O7xyk=";
|
||||
};
|
||||
x86_64-dmg = callPackage ./build-from-dmg.nix {
|
||||
inherit pname version metaCommon;
|
||||
sha256 = "du/9N1BFq1s7spPiEDgDbjjcnkA0x1ExhAEpQvmO3aA=";
|
||||
sha256 = "6SOqlH7Z9DuQVR4i1OltnSb4dJscFUxaXxgNkE5FVUE=";
|
||||
};
|
||||
in
|
||||
(if stdenvNoCC.isDarwin then x86_64-dmg else x86_64-appimage).overrideAttrs (oldAttrs: {
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "senpai";
|
||||
version = "unstable-2021-12-14";
|
||||
version = "unstable-2022-04-29";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~taiite";
|
||||
repo = "senpai";
|
||||
rev = "8091752a67781273944e7a79a803b7a671378313";
|
||||
sha256 = "sha256-tZp0ra/Sq/5MAFlAFHPJ94jYxtHbDiG1wSD4NOH1x7I=";
|
||||
rev = "859b8fdb7d433a848668c6f1a00406f107fe00e5";
|
||||
sha256 = "sha256-grVv/bcUEU6Aaf+4MbkocY/75u7q6Q7r26xK0ybULUg=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-xkJh7k8GZmoZqE0HgbFp2xMJQOVDkPEXOZEl6bJZz1A=";
|
||||
vendorSha256 = "sha256-hgojB1D0/SZWLEzJ48EBoT/InYYmqD/1qoTknfk/aTo=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/senpai"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, pkg-config
|
||||
, python3
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, gtk3
|
||||
, glib
|
||||
, gdbm
|
||||
|
@ -44,6 +45,20 @@ stdenv.mkDerivation rec {
|
|||
libayatana-appindicator-gtk3
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Fix missing tray icon
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/fix-tray-icon.patch";
|
||||
sha256 = "sha256-9LjCEQl8YfraVlO1W7+Yy7egLAPu5YfnvGvCI3uGFh8=";
|
||||
})
|
||||
# Fix build with meson 0.61
|
||||
# appdata/meson.build:3:5: ERROR: Function does not take positional arguments.
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/meson0.61.patch";
|
||||
sha256 = "sha256-B+tBPIz5RxOwZWYEWttqSKGw2Wbfk0mnBY0Zy0evvAQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs man/manhelper.py
|
||||
'';
|
||||
|
|
|
@ -1,70 +0,0 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkg-config, python2
|
||||
, boost, db, openssl, geoip, libiconv, miniupnpc, srcOnly
|
||||
}:
|
||||
|
||||
let
|
||||
twisterHTML = srcOnly {
|
||||
name = "twister-html";
|
||||
src = fetchFromGitHub {
|
||||
owner = "miguelfreitas";
|
||||
repo = "twister-html";
|
||||
rev = "01e7f7ca9b7e42ed90f91bc42da2c909ca5c0b9b";
|
||||
sha256 = "sha256-Hi/VAEwujWhKAPaYIuvrxRIuPQa9AYwXiHUGbWxckmk=";
|
||||
};
|
||||
};
|
||||
|
||||
boostPython = boost.override {
|
||||
enablePython = true;
|
||||
python = python2;
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "twister";
|
||||
version = "2019-08-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "miguelfreitas";
|
||||
repo = "twister-core";
|
||||
rev = "31faf3f63e461ea0a9b23081567a4a552cf06873";
|
||||
sha256 = "0xh1lgnl9nd86jr0mp7m8bkd7r5j4d6chd0y73h2xv4aq5sld0sp";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--with-libgeoip"
|
||||
"--with-libiconv"
|
||||
"--disable-deprecated-functions"
|
||||
"--enable-tests"
|
||||
"--enable-python-binding"
|
||||
"--with-boost-libdir=${boostPython.out}/lib"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config automake autoconf ];
|
||||
buildInputs = [
|
||||
libtool python2
|
||||
boostPython db openssl geoip miniupnpc libiconv
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/-htmldir/s|(default: [^)]*)|(default: ${twisterHTML})|' \
|
||||
src/init.cpp
|
||||
sed -i -e '/GetDataDir.*html/s|path *= *[^;]*|path = "${twisterHTML}"|' \
|
||||
src/util.cpp
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
sh autotool.sh
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -vD twisterd "$out/bin/twisterd"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.twister.net.co/";
|
||||
description = "Peer-to-peer microblogging";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -14,13 +14,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "onedrive";
|
||||
version = "2.4.16";
|
||||
version = "2.4.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abraunegg";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-GoufEcCu/Cg2Fu0RcjTi4te/7+gZfQRTj+AtK0YnF5I=";
|
||||
hash = "sha256-+ADAPxAZNDqLKLz6rAProqSDINDiTZhc2trxJFFMQeA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ldc installShellFiles pkg-config ];
|
||||
|
|
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||
sed -i '/^CC/d' Makefile
|
||||
'';
|
||||
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isStatic "AR=${stdenv.cc.targetPrefix}ar";
|
||||
|
||||
# it's unclear which headers are intended to be part of the public interface
|
||||
# so we may find ourselves having to add more here over time
|
||||
installPhase = ''
|
||||
|
|
|
@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
cmakeFlags = lib.optional stdenv.hostPlatform.isStatic [
|
||||
"-DSTATIC_BUILD=ON"
|
||||
];
|
||||
meta = with lib; {
|
||||
description = "An ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph";
|
||||
license = licenses.gpl3;
|
||||
|
|
|
@ -22,8 +22,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ zlib ncurses htslib ];
|
||||
|
||||
preConfigure = lib.optional stdenv.hostPlatform.isStatic ''
|
||||
export LIBS="-lz -lbz2 -llzma"
|
||||
'';
|
||||
makeFlags = lib.optional stdenv.hostPlatform.isStatic "AR=${stdenv.cc.targetPrefix}ar";
|
||||
|
||||
configureFlags = [ "--with-htslib=${htslib}" ]
|
||||
++ lib.optional (ncurses == null) "--without-curses";
|
||||
++ lib.optional (ncurses == null) "--without-curses"
|
||||
++ lib.optional stdenv.hostPlatform.isStatic ["--without-curses" ]
|
||||
;
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs test/
|
||||
|
|
50
pkgs/applications/science/logic/easycrypt/default.nix
Normal file
50
pkgs/applications/science/logic/easycrypt/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ lib, stdenv, fetchFromGitHub, ocamlPackages, why3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "easycrypt";
|
||||
version = "2022.04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "r${version}";
|
||||
sha256 = "sha256:09rdwcj70lkamkhd895p284rfpz4bcnsf55mcimhiqncd2a21ml7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with ocamlPackages; [
|
||||
dune_3
|
||||
findlib
|
||||
menhir
|
||||
ocaml
|
||||
];
|
||||
buildInputs = with ocamlPackages; [
|
||||
batteries
|
||||
dune-build-info
|
||||
inifiles
|
||||
yojson
|
||||
zarith
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ why3 ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace dune-project --replace '(name easycrypt)' '(name easycrypt)(version ${version})'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
dune install --prefix $out ${pname}
|
||||
rm $out/bin/ec-runtest
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
platforms = lib.platforms.all;
|
||||
homepage = "https://easycrypt.info/";
|
||||
description = "Computer-Aided Cryptographic Proofs";
|
||||
};
|
||||
}
|
24
pkgs/applications/science/logic/easycrypt/runtest.nix
Normal file
24
pkgs/applications/science/logic/easycrypt/runtest.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ python3Packages, easycrypt }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
inherit (easycrypt) src version;
|
||||
|
||||
pname = "easycrypt-runtest";
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = false;
|
||||
|
||||
pythonPath = with python3Packages; [ pyyaml ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
cp scripts/testing/runtest $out/bin/ec-runtest
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = easycrypt.meta // {
|
||||
description = "Testing program for EasyCrypt formalizations";
|
||||
};
|
||||
}
|
|
@ -5,14 +5,14 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "snakemake";
|
||||
version = "7.5.0";
|
||||
version = "7.6.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "snakemake";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-KIKuV6DVHn3dDY/rJG1zNWM79tdDB6GGVH9/kYn6XaE=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-McknAQDzpTE1WdIBr8HsFpGzXuJT2kDNvLzK2gn75GM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
|
|
|
@ -82,11 +82,11 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "${optionalString onlyLibVLC "lib"}vlc";
|
||||
version = "3.0.17";
|
||||
version = "3.0.17.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://get.videolan.org/vlc/${version}/vlc-${version}.tar.xz";
|
||||
sha256 = "sha256-SL2b8zeqEHoVJOulfFLcSpHin1qX+97pL2pNupA4PNA=";
|
||||
sha256 = "sha256-b36Q74lz0x2W3mTbgXFz40UVCClxepQISxu4MhzeIBQ=";
|
||||
};
|
||||
|
||||
# VLC uses a *ton* of libraries for various pieces of functionality, many of
|
||||
|
|
|
@ -68,6 +68,8 @@ stdenv.mkDerivation rec {
|
|||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall =
|
||||
let
|
||||
binPath = lib.makeBinPath [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, pkgs, fetchurl, zlib, gmp, ncurses5, lib }:
|
||||
{ stdenv, pkgs, fetchurl, zlib, gmp, lib }:
|
||||
|
||||
# from justinwoo/easy-purescript-nix
|
||||
# https://github.com/justinwoo/easy-purescript-nix/blob/d383972c82620a712ead4033db14110497bc2c9c/purs.nix
|
||||
|
@ -35,9 +35,7 @@ in stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
|
||||
buildInputs = [ zlib
|
||||
gmp
|
||||
ncurses5 ];
|
||||
buildInputs = [ zlib gmp ];
|
||||
libPath = lib.makeLibraryPath buildInputs;
|
||||
dontStrip = true;
|
||||
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libdeltachat";
|
||||
version = "1.78.0";
|
||||
version = "1.79.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deltachat";
|
||||
repo = "deltachat-core-rust";
|
||||
rev = version;
|
||||
hash = "sha256-SMobKC34RU7/LfRtgBxa8CHsLlWOQ29zaiw/V4+wWqU=";
|
||||
hash = "sha256-jwAPbTwMSWDucAvip5KcA7fb4LCWo70SiIspacijMvQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-G2lUk1M3B+a3BaNPFWQgsYehUu7dyfuRc+fXSlWjSq4=";
|
||||
hash = "sha256-Fn4M4CQV7VTE7SubvOszhpGBbmDyqemyUeZ0qDmcGUU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -14,9 +14,25 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ zlib bzip2 xz curl ];
|
||||
|
||||
configureFlags = [ "--enable-libcurl" ]; # optional but strongly recommended
|
||||
configureFlags = if ! stdenv.hostPlatform.isStatic
|
||||
then [ "--enable-libcurl" ] # optional but strongly recommended
|
||||
else [ "--disable-libcurl" "--disable-plugins" ];
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
|
||||
# In the case of static builds, we need to replace the build and install phases
|
||||
buildPhase = lib.optional stdenv.hostPlatform.isStatic ''
|
||||
make AR=$AR lib-static
|
||||
make LDFLAGS=-static bgzip htsfile tabix
|
||||
'';
|
||||
|
||||
installPhase = lib.optional stdenv.hostPlatform.isStatic ''
|
||||
install -d $out/bin
|
||||
install -d $out/lib
|
||||
install -d $out/include/htslib
|
||||
install -D libhts.a $out/lib
|
||||
install -m644 htslib/*h $out/include/htslib
|
||||
install -D bgzip htsfile tabix $out/bin
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
patchShebangs test/
|
||||
|
|
|
@ -1,151 +0,0 @@
|
|||
{ stdenv, lib, config, fetchFromGitHub
|
||||
, cmake
|
||||
, glog, gflags, gtest
|
||||
, protobuf, snappy
|
||||
, python, future, six, python-protobuf, numpy, pydot
|
||||
, eigen
|
||||
, doxygen
|
||||
, useCuda ? (config.cudaSupport or false), cudaPackages ? {}
|
||||
, useCudnn ? (config.cudnnSupport or false)
|
||||
, useOpenmp ? false, openmp ? null
|
||||
, useOpencv3 ? true, opencv3 ? null
|
||||
, useLeveldb ? false, leveldb ? null
|
||||
, useLmdb ? true, lmdb ? null
|
||||
, useRocksdb ? false, rocksdb ? null
|
||||
, useZeromq ? false, zeromq ? null
|
||||
, useMpi ? false, mpi ? null
|
||||
# TODO: distributed computations
|
||||
#, useGloo ? false
|
||||
#, useNccl ? false
|
||||
#, useNnpack ? false
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (cudaPackages) cudatoolkit cudnn;
|
||||
in
|
||||
|
||||
assert useCuda -> cudatoolkit != null;
|
||||
assert useCudnn -> (useCuda && cudnn != null);
|
||||
assert useOpencv3 -> opencv3 != null;
|
||||
assert useLeveldb -> leveldb != null;
|
||||
assert useLmdb -> lmdb != null;
|
||||
assert useRocksdb -> rocksdb != null;
|
||||
assert useZeromq -> zeromq != null;
|
||||
assert useMpi -> mpi != null;
|
||||
|
||||
let
|
||||
# Third party modules that caffe2 holds as git submodules.
|
||||
# Download them and create symlinks from caffe2/third_party.
|
||||
installExtraSrc = extra: ''
|
||||
rmdir "third_party/${extra.dst}"
|
||||
ln -s "${extra.src}" "third_party/${extra.dst}"
|
||||
'';
|
||||
|
||||
cub = {
|
||||
src = fetchFromGitHub {
|
||||
owner = "NVlabs";
|
||||
repo = "cub";
|
||||
rev = "v1.7.4";
|
||||
sha256 = "0ksd5n1lxqhm5l5cd2lps4cszhjkf6gmzahaycs7nxb06qci8c66";
|
||||
};
|
||||
dst = "cub";
|
||||
};
|
||||
|
||||
pybind11 = {
|
||||
src = fetchFromGitHub {
|
||||
owner = "pybind";
|
||||
repo = "pybind11";
|
||||
rev = "86e2ad4f77442c3350f9a2476650da6bee253c52";
|
||||
sha256 = "05gi58dirvc8fgm0avpydvidzsbh2zrzgfaq671ym09f6dz0bcgz";
|
||||
};
|
||||
dst = "pybind11";
|
||||
};
|
||||
|
||||
ccVersion = lib.getVersion stdenv.cc;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "caffe2";
|
||||
version = "0.8.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "caffe2";
|
||||
repo = "caffe2";
|
||||
rev = "v${version}";
|
||||
sha256 = "18y7zjc69j6n5642l9caddl641b0djf3pjn4wacdsc1wk1jiyqk8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake doxygen gtest ];
|
||||
outputs = [ "bin" "out" ];
|
||||
propagatedBuildOutputs = [ ]; # otherwise propagates out -> bin cycle
|
||||
|
||||
buildInputs = [ glog gflags protobuf snappy eigen ]
|
||||
++ lib.optional useCuda cudatoolkit
|
||||
++ lib.optional useCudnn cudnn
|
||||
++ lib.optional useOpenmp openmp
|
||||
++ lib.optional useOpencv3 opencv3
|
||||
++ lib.optional useLeveldb leveldb
|
||||
++ lib.optional useLmdb lmdb
|
||||
++ lib.optional useRocksdb rocksdb
|
||||
++ lib.optional useZeromq zeromq
|
||||
;
|
||||
propagatedBuildInputs = [ numpy future six python-protobuf pydot ];
|
||||
|
||||
patches = lib.optional (stdenv.cc.isGNU && lib.versionAtLeast ccVersion "7.0.0") [
|
||||
./fix_compilation_on_gcc7.patch
|
||||
] ++ lib.optional stdenv.cc.isClang [ ./update_clang_cvtsh_bugfix.patch ];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_TEST=OFF"
|
||||
"-DBUILD_PYTHON=ON"
|
||||
''-DUSE_CUDA=${if useCuda then "ON"else "OFF"}''
|
||||
''-DUSE_OPENMP=${if useOpenmp then "ON"else "OFF"}''
|
||||
''-DUSE_OPENCV=${if useOpencv3 then "ON"else "OFF"}''
|
||||
''-DUSE_MPI=${if useMpi then "ON"else "OFF"}''
|
||||
''-DUSE_LEVELDB=${if useLeveldb then "ON"else "OFF"}''
|
||||
''-DUSE_LMDB=${if useLmdb then "ON"else "OFF"}''
|
||||
''-DUSE_ROCKSDB=${if useRocksdb then "ON"else "OFF"}''
|
||||
''-DUSE_ZMQ=${if useZeromq then "ON"else "OFF"}''
|
||||
"-DUSE_GLOO=OFF"
|
||||
"-DUSE_NNPACK=OFF"
|
||||
"-DUSE_NCCL=OFF"
|
||||
"-DUSE_REDIS=OFF"
|
||||
"-DUSE_FFMPEG=OFF"
|
||||
]
|
||||
++ lib.optional useCuda [
|
||||
"-DCUDA_TOOLKIT_ROOT_DIR=${cudatoolkit}"
|
||||
"-DCUDA_FAST_MATH=ON"
|
||||
"-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/gcc"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
${installExtraSrc cub}
|
||||
${installExtraSrc pybind11}
|
||||
# XXX hack
|
||||
export NIX_CFLAGS_COMPILE="-I ${eigen}/include/eigen3/ $NIX_CFLAGS_COMPILE"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput "bin" "$bin"
|
||||
mkdir -p $out/lib/${python.libPrefix}
|
||||
ln -s $out/ $out/${python.sitePackages}
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://caffe2.ai/";
|
||||
description = "A new lightweight, modular, and scalable deep learning framework";
|
||||
longDescription = ''
|
||||
Caffe2 aims to provide an easy and straightforward way for you to experiment
|
||||
with deep learning and leverage community contributions of new models and
|
||||
algorithms. You can bring your creations to scale using the power of GPUs in the
|
||||
cloud or to the masses on mobile with Caffe2's cross-platform libraries.
|
||||
'';
|
||||
platforms = with lib.platforms; linux;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ yuriaisaka ];
|
||||
# fails to compile with
|
||||
# error: invalid conversion from 'const char*' to 'char*'
|
||||
# TODO: Remove usage of python2, protobuf overwrite
|
||||
broken = true;
|
||||
};
|
||||
}
|
|
@ -1,46 +0,0 @@
|
|||
diff --git a/caffe2/operators/recurrent_network_op.cc b/caffe2/operators/recurrent_network_op.cc
|
||||
index dd4fded..5995e8a 100644
|
||||
--- a/caffe2/operators/recurrent_network_op.cc
|
||||
+++ b/caffe2/operators/recurrent_network_op.cc
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include "recurrent_network_op.h"
|
||||
+#include "caffe2/operators/recurrent_network_op.h"
|
||||
#include "caffe2/core/workspace.h"
|
||||
|
||||
namespace caffe2 {
|
||||
diff --git a/caffe2/operators/recurrent_network_op.h b/caffe2/operators/recurrent_network_op.h
|
||||
index 55328e5..ea898bc 100644
|
||||
--- a/caffe2/operators/recurrent_network_op.h
|
||||
+++ b/caffe2/operators/recurrent_network_op.h
|
||||
@@ -762,8 +762,8 @@ class AccumulateInputGradientOp : public Operator<Context> {
|
||||
USE_OPERATOR_CONTEXT_FUNCTIONS;
|
||||
|
||||
bool RunOnDevice() override {
|
||||
- const auto t =
|
||||
- OperatorBase::Input<Tensor<CPUContext>>(0).template data<int32_t>()[0];
|
||||
+ const auto& t0 = OperatorBase::Input<Tensor<CPUContext>>(0);
|
||||
+ const auto t = t0.template data<int32_t>()[0];
|
||||
auto& og = Input(1);
|
||||
auto* g = Output(0);
|
||||
|
||||
diff --git a/caffe2/queue/queue_ops.h b/caffe2/queue/queue_ops.h
|
||||
index f2c0a33..642343f 100644
|
||||
--- a/caffe2/queue/queue_ops.h
|
||||
+++ b/caffe2/queue/queue_ops.h
|
||||
@@ -17,13 +17,10 @@ class CreateBlobsQueueOp final : public Operator<Context> {
|
||||
name(operator_def.output().Get(0)) {}
|
||||
|
||||
bool RunOnDevice() override {
|
||||
- const auto capacity =
|
||||
- OperatorBase::template GetSingleArgument<int>("capacity", 1);
|
||||
- const auto numBlobs =
|
||||
- OperatorBase::template GetSingleArgument<int>("num_blobs", 1);
|
||||
+ const auto capacity = GetSingleArgument("capacity", 1);
|
||||
+ const auto numBlobs = GetSingleArgument("num_blobs", 1);
|
||||
const auto enforceUniqueName =
|
||||
- OperatorBase::template GetSingleArgument<int>(
|
||||
- "enforce_unique_name", false);
|
||||
+ GetSingleArgument("enforce_unique_name", false);
|
||||
const auto fieldNames =
|
||||
OperatorBase::template GetRepeatedArgument<std::string>("field_names");
|
||||
CAFFE_ENFORCE_EQ(this->OutputSize(), 1);
|
|
@ -1,55 +0,0 @@
|
|||
diff --git a/caffe2/perfkernels/cvtsh_ss_bugfix.h b/caffe2/perfkernels/cvtsh_ss_bugfix.h
|
||||
index bd06681..00172b7 100644
|
||||
--- a/caffe2/perfkernels/cvtsh_ss_bugfix.h
|
||||
+++ b/caffe2/perfkernels/cvtsh_ss_bugfix.h
|
||||
@@ -1,10 +1,36 @@
|
||||
+/**
|
||||
+ * Copyright (c) 2016-present, Facebook, Inc.
|
||||
+ *
|
||||
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
||||
+ * you may not use this file except in compliance with the License.
|
||||
+ * You may obtain a copy of the License at
|
||||
+ *
|
||||
+ * http://www.apache.org/licenses/LICENSE-2.0
|
||||
+ *
|
||||
+ * Unless required by applicable law or agreed to in writing, software
|
||||
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
||||
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
+ * See the License for the specific language governing permissions and
|
||||
+ * limitations under the License.
|
||||
+ */
|
||||
+
|
||||
#pragma once
|
||||
|
||||
-#if defined(__APPLE__) && (__clang_major__ < 8)
|
||||
+// Apple clang was fixed in 8.1
|
||||
+#if defined(__apple_build_version__) && ((__clang_major__ < 8) || ((__clang_major__ == 8) && (__clang_minor__ < 1)))
|
||||
+#define __APPLE_NEED_FIX 1
|
||||
+#endif
|
||||
+
|
||||
+// Regular clang was fixed in 3.9
|
||||
+#if defined(__clang__) && (__clang_major__ < 4) && (__clang_minor__ < 9)
|
||||
+#define __CLANG_NEED_FIX 1
|
||||
+#endif
|
||||
+
|
||||
+#if __APPLE_NEED_FIX || __CLANG_NEED_FIX
|
||||
|
||||
#include <emmintrin.h>
|
||||
|
||||
-// This version of apple clang has a bug that _cvtsh_ss is not defined, see
|
||||
+// This version of clang has a bug that _cvtsh_ss is not defined, see
|
||||
// https://reviews.llvm.org/D16177
|
||||
static __inline float
|
||||
__attribute__((__always_inline__, __nodebug__, __target__("f16c")))
|
||||
@@ -15,7 +41,10 @@ _cvtsh_ss(unsigned short a)
|
||||
return r[0];
|
||||
}
|
||||
|
||||
-#endif // defined(__APPLE__) && (__clang_major__ < 8)
|
||||
+#endif // __APPLE_NEED_FIX || __CLANG_NEED_FIX
|
||||
+
|
||||
+#undef __APPLE_NEED_FIX
|
||||
+#undef __CLANG_NEED_FIX
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
cmakeFlags = [ "-DCMAKE_INSTALL_INCLUDEDIR=${vulkan-headers}/include" ]
|
||||
++ lib.optional stdenv.isDarwin "-DSYSCONFDIR=${moltenvk}/share"
|
||||
++ lib.optional stdenv.isLinux "-DSYSCONFDIR=${addOpenGLRunpath.driverLink}/share";
|
||||
++ lib.optional stdenv.isLinux "-DSYSCONFDIR=${addOpenGLRunpath.driverLink}/share"
|
||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DUSE_GAS=OFF";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "afsapi";
|
||||
version = "0.2.3";
|
||||
version = "0.2.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -19,8 +19,8 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "wlcrs";
|
||||
repo = "python-afsapi";
|
||||
rev = version;
|
||||
hash = "sha256-6nmj15jCGBRkT7Ip/VGHX5IrAbhu1LUlvXuvFhvXknY=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-pNggrg97GIBBTm4rjtpx0NOZIWCGn9boB/Wss/QwF6U=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
|
|
@ -10,17 +10,21 @@
|
|||
, pyquery
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "howdoi";
|
||||
version = "2.0.19";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gleitz";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0hl7cpxm4llsgw6390bpjgkzrprrpb0vxx2flgly7wiy9zl1rc5q";
|
||||
hash = "sha256-uLAc6E8+8uPpo070vsG6Od/855N3gTQMf5pSUvtlh0I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -46,6 +50,16 @@ buildPythonPackage rec {
|
|||
# AssertionError: "The...
|
||||
"test_get_text_with_one_link"
|
||||
"test_get_text_without_links"
|
||||
# Those tests are failing in the sandbox
|
||||
# OSError: [Errno 24] Too many open files
|
||||
"test_answers"
|
||||
"test_answers_bing"
|
||||
"test_colorize"
|
||||
"test_json_output"
|
||||
"test_missing_pre_or_code_query"
|
||||
"test_multiple_answers"
|
||||
"test_position"
|
||||
"test_unicode_answer"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
@ -54,7 +68,7 @@ buildPythonPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Instant coding answers via the command line";
|
||||
homepage = "https://pypi.python.org/pypi/howdoi";
|
||||
homepage = "https://github.com/gleitz/howdoi";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
};
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "peaqevcore";
|
||||
version = "0.0.21";
|
||||
version = "0.0.22";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-NTwLo/RtwSf3a43dAv8EK1NWuCsVjL+8+KozjvaPUm4=";
|
||||
hash = "sha256-ye8evqkOy08wHYohVOpXB2pfPN/vsK9GnPnL/nbVZU0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pykulersky";
|
||||
version = "0.5.3";
|
||||
version = "0.5.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
owner = "emlove";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-l3obfs5zo5DqArsDml8EZ+/uzab35Jjsuzw6U1XFJ3k=";
|
||||
sha256 = "sha256-voD4tR+k5TKGjLXFK94GJy4+wUoP2cSFc5BWkCiinOg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, libiconv, rustPlatform, setuptools-rust }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, libiconv
|
||||
, Foundation
|
||||
, rustPlatform
|
||||
, setuptools-rust }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "skytemple-rust";
|
||||
|
@ -17,7 +24,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-lXPCxRbaqUC5EfyeBPtJDuGADYOA+DWMaOZRwXppP8E=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Foundation ];
|
||||
nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo rust.rustc ]);
|
||||
|
||||
GETTEXT_SYSTEM = true;
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlmap";
|
||||
version = "1.6.4";
|
||||
version = "1.6.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-6RKJ5a8Yl+SnWgdfrTIwY0m1JyY6W9fhZk6pTZiBVx8=";
|
||||
sha256 = "sha256-EdiLTzjRigJLsslWSymLNajvUDimBt4d4EBugxVYueg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -1,38 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, poetry-core
|
||||
, rich
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "textual";
|
||||
version = "0.1.15";
|
||||
version = "0.1.18";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Textualize";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1jmjais0yq8dwi9yikgrxdw4rwp8aq1981nhfxn0v97jb07i4cj6";
|
||||
sha256 = "sha256-XVmbt8r5HL8r64ISdJozmM+9HuyvqbpdejWICzFnfiw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# v0.1.15 git tag has 0.1.14 in pyproject.toml
|
||||
name = "version.patch";
|
||||
url = "https://github.com/Textualize/textual/commit/1b8d7d184e10889002425641222702afba508aea.patch";
|
||||
sha256 = "1nfqp5f8ba3fg0ar3lghrlqypbjbsaywxaz3iiff8fy8j2wgsppp";
|
||||
})
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rich
|
||||
] ++ lib.optionals (pythonOlder "3.9") [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
|
@ -40,7 +36,14 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "textual" ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'rich = "^12.3.0"' 'rich = "*"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"textual"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "TUI framework for Python inspired by modern web development";
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}:
|
||||
let
|
||||
# Poetry2nix version
|
||||
version = "1.27.1";
|
||||
version = "1.28.0";
|
||||
|
||||
inherit (poetryLib) isCompatible readTOML moduleName;
|
||||
|
||||
|
@ -287,12 +287,20 @@ lib.makeScope pkgs.newScope (self: {
|
|||
(name: value: projectDir + "/${value.path}")
|
||||
(lib.filterAttrs (name: dep: dep.develop or false && hasAttr "path" dep) set);
|
||||
|
||||
editablePackageSources' = (
|
||||
excludedEditablePackageNames = builtins.filter
|
||||
(pkg: editablePackageSources."${pkg}" == null)
|
||||
(builtins.attrNames editablePackageSources);
|
||||
|
||||
allEditablePackageSources = (
|
||||
(getEditableDeps (pyProject.tool.poetry."dependencies" or { }))
|
||||
// (getEditableDeps (pyProject.tool.poetry."dev-dependencies" or { }))
|
||||
// editablePackageSources
|
||||
);
|
||||
|
||||
editablePackageSources' = builtins.removeAttrs
|
||||
allEditablePackageSources
|
||||
excludedEditablePackageNames;
|
||||
|
||||
poetryPython = self.mkPoetryPackages {
|
||||
inherit pyproject poetrylock overrides python pwd preferWheels pyProject;
|
||||
editablePackageSources = editablePackageSources';
|
||||
|
|
|
@ -180,7 +180,7 @@ let
|
|||
hasGitIgnore = builtins.pathExists gitIgnore;
|
||||
gitIgnores = if hasGitIgnore then [ gitIgnore ] else [ ];
|
||||
in
|
||||
lib.optionals (builtins.toString path != "/" && ! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
|
||||
lib.optionals (builtins.pathExists path && builtins.toString path != "/" && ! isGitRoot) (findGitIgnores parent) ++ gitIgnores;
|
||||
|
||||
/*
|
||||
Provides a source filtering mechanism that:
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
"aioflo": [
|
||||
"poetry-core"
|
||||
],
|
||||
"aiogithubapi": [
|
||||
"poetry-core"
|
||||
],
|
||||
"aioguardian": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -89,9 +92,21 @@
|
|||
"amqtt": [
|
||||
"poetry-core"
|
||||
],
|
||||
"ansible-doctor": [
|
||||
"poetry-core"
|
||||
],
|
||||
"ansible-later": [
|
||||
"poetry-core"
|
||||
],
|
||||
"ansible-runner": [
|
||||
"pbr"
|
||||
],
|
||||
"apache-beam": [
|
||||
"cython"
|
||||
],
|
||||
"aplpy": [
|
||||
"cython"
|
||||
],
|
||||
"argon2_cffi": [
|
||||
"flitBuildHook"
|
||||
],
|
||||
|
@ -114,15 +129,24 @@
|
|||
"atomman": [
|
||||
"cython"
|
||||
],
|
||||
"atpublic": [
|
||||
"pdm-pep517"
|
||||
],
|
||||
"autarco": [
|
||||
"poetry-core"
|
||||
],
|
||||
"authcaptureproxy": [
|
||||
"poetry-core"
|
||||
],
|
||||
"av": [
|
||||
"cython"
|
||||
],
|
||||
"awesomeversion": [
|
||||
"poetry-core"
|
||||
],
|
||||
"aws-adfs": [
|
||||
"poetry-core"
|
||||
],
|
||||
"aws-error-utils": [
|
||||
"poetry"
|
||||
],
|
||||
|
@ -147,6 +171,9 @@
|
|||
"boltztrap2": [
|
||||
"cython"
|
||||
],
|
||||
"bsblan": [
|
||||
"poetry-core"
|
||||
],
|
||||
"build": [
|
||||
"flit-core"
|
||||
],
|
||||
|
@ -183,6 +210,9 @@
|
|||
"clikit": [
|
||||
"poetry-core"
|
||||
],
|
||||
"cloudflare-dyndns": [
|
||||
"poetry"
|
||||
],
|
||||
"collections-extended": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -210,7 +240,8 @@
|
|||
"poetry-core"
|
||||
],
|
||||
"cssselect2": [
|
||||
"flit"
|
||||
"flit",
|
||||
"flit-core"
|
||||
],
|
||||
"cwcwidth": [
|
||||
"cython"
|
||||
|
@ -224,9 +255,15 @@
|
|||
"cypari2": [
|
||||
"cython"
|
||||
],
|
||||
"cypherpunkpay": [
|
||||
"poetry-core"
|
||||
],
|
||||
"cysignals": [
|
||||
"cython"
|
||||
],
|
||||
"datadog": [
|
||||
"hatchling"
|
||||
],
|
||||
"datrie": [
|
||||
"cython"
|
||||
],
|
||||
|
@ -260,6 +297,9 @@
|
|||
"doc8": [
|
||||
"pbr"
|
||||
],
|
||||
"docstring-parser": [
|
||||
"poetry-core"
|
||||
],
|
||||
"dtlssocket": [
|
||||
"cython"
|
||||
],
|
||||
|
@ -301,7 +341,8 @@
|
|||
"poetry-core"
|
||||
],
|
||||
"entrypoints": [
|
||||
"flit"
|
||||
"flit",
|
||||
"flit-core"
|
||||
],
|
||||
"enturclient": [
|
||||
"poetry-core"
|
||||
|
@ -309,6 +350,13 @@
|
|||
"enumatch": [
|
||||
"poetry"
|
||||
],
|
||||
"exceptiongroup": [
|
||||
"flit-core",
|
||||
"flitBuildHook"
|
||||
],
|
||||
"falcon": [
|
||||
"cython"
|
||||
],
|
||||
"fastapi": [
|
||||
"flitBuildHook"
|
||||
],
|
||||
|
@ -378,6 +426,9 @@
|
|||
"generic": [
|
||||
"poetry-core"
|
||||
],
|
||||
"gensim": [
|
||||
"cython"
|
||||
],
|
||||
"glances-api": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -492,9 +543,15 @@
|
|||
"ipwhl": [
|
||||
"flitBuildHook"
|
||||
],
|
||||
"iso8601": [
|
||||
"poetry-core"
|
||||
],
|
||||
"isort": [
|
||||
"poetry-core"
|
||||
],
|
||||
"jarowinkler": [
|
||||
"cython"
|
||||
],
|
||||
"jedi-language-server": [
|
||||
"poetry"
|
||||
],
|
||||
|
@ -519,6 +576,12 @@
|
|||
"jupyterlab": [
|
||||
"jupyter-packaging"
|
||||
],
|
||||
"jupyterlab-code-formatter": [
|
||||
"jupyter-packaging"
|
||||
],
|
||||
"jupyterlab-pygments": [
|
||||
"jupyter-packaging"
|
||||
],
|
||||
"keystoneauth1": [
|
||||
"pbr"
|
||||
],
|
||||
|
@ -537,6 +600,9 @@
|
|||
"ldappool": [
|
||||
"pbr"
|
||||
],
|
||||
"levenshtein": [
|
||||
"cython"
|
||||
],
|
||||
"libgpuarray": [
|
||||
"cython"
|
||||
],
|
||||
|
@ -564,6 +630,9 @@
|
|||
"lockfile": [
|
||||
"pbr"
|
||||
],
|
||||
"lsassy": [
|
||||
"poetry-core"
|
||||
],
|
||||
"luftdaten": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -585,6 +654,9 @@
|
|||
"marisa-trie": [
|
||||
"cython"
|
||||
],
|
||||
"markdown-it-py": [
|
||||
"flit-core"
|
||||
],
|
||||
"mask-rcnn": [
|
||||
"cython"
|
||||
],
|
||||
|
@ -607,6 +679,9 @@
|
|||
"memory-allocator": [
|
||||
"cython"
|
||||
],
|
||||
"meteofrance-api": [
|
||||
"poetry"
|
||||
],
|
||||
"metprint": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -618,6 +693,7 @@
|
|||
"poetry"
|
||||
],
|
||||
"mkdocs-jupyter": [
|
||||
"ipython_genutils",
|
||||
"poetry-core"
|
||||
],
|
||||
"mkdocs-literate-nav": [
|
||||
|
@ -674,6 +750,9 @@
|
|||
"netdata": [
|
||||
"poetry-core"
|
||||
],
|
||||
"netutils": [
|
||||
"poetry-core"
|
||||
],
|
||||
"newversion": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -689,6 +768,9 @@
|
|||
"nkdfu": [
|
||||
"flitBuildHook"
|
||||
],
|
||||
"notebook-shim": [
|
||||
"jupyter-packaging"
|
||||
],
|
||||
"notus-scanner": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -728,6 +810,9 @@
|
|||
"openvino": [
|
||||
"cython"
|
||||
],
|
||||
"ordered-set": [
|
||||
"flit-core"
|
||||
],
|
||||
"ormar": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -807,6 +892,9 @@
|
|||
"poetry": [
|
||||
"poetry-core"
|
||||
],
|
||||
"poetry-dynamic-versioning": [
|
||||
"poetry-core"
|
||||
],
|
||||
"poetry2conda": [
|
||||
"poetry"
|
||||
],
|
||||
|
@ -930,6 +1018,9 @@
|
|||
"pymaven-patch": [
|
||||
"pbr"
|
||||
],
|
||||
"pymdown-extensions": [
|
||||
"hatchling"
|
||||
],
|
||||
"pymfy": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -954,6 +1045,9 @@
|
|||
"pyoverkiz": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pyparsing": [
|
||||
"flit-core"
|
||||
],
|
||||
"pypass": [
|
||||
"pbr"
|
||||
],
|
||||
|
@ -978,12 +1072,21 @@
|
|||
"pyproject-flake8": [
|
||||
"flit-core"
|
||||
],
|
||||
"pypsrp": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pyquil": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pyrad": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pyregion": [
|
||||
"cython"
|
||||
],
|
||||
"pyrevolve": [
|
||||
"cython"
|
||||
],
|
||||
"pyrmvtransport": [
|
||||
"flit"
|
||||
],
|
||||
|
@ -999,6 +1102,9 @@
|
|||
"pysigma": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pysigma-backend-insightidr": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pysigma-backend-splunk": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -1008,14 +1114,30 @@
|
|||
"pysigma-pipeline-sysmon": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pysigma-pipeline-windows": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pyslurm": [
|
||||
"cython"
|
||||
],
|
||||
"pysmf": [
|
||||
"cython"
|
||||
],
|
||||
"pysml": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pysnmp-pyasn1": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pysnmp-pysmi": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pysnmplib": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pysnow": [
|
||||
"poetry"
|
||||
"poetry",
|
||||
"poetry-core"
|
||||
],
|
||||
"pysptk": [
|
||||
"cython"
|
||||
|
@ -1035,6 +1157,9 @@
|
|||
"pytest-httpserver": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pytest-isort": [
|
||||
"poetry-core"
|
||||
],
|
||||
"pytest-mockservers": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -1097,6 +1222,9 @@
|
|||
"python-openstackclient": [
|
||||
"pbr"
|
||||
],
|
||||
"python-pae": [
|
||||
"poetry-core"
|
||||
],
|
||||
"python-pkcs11": [
|
||||
"cython"
|
||||
],
|
||||
|
@ -1215,7 +1343,8 @@
|
|||
"poetry-core"
|
||||
],
|
||||
"rokuecp": [
|
||||
"poetry"
|
||||
"poetry",
|
||||
"poetry-core"
|
||||
],
|
||||
"roombapy": [
|
||||
"poetry-core"
|
||||
|
@ -1280,6 +1409,9 @@
|
|||
"sentinel": [
|
||||
"poetry-core"
|
||||
],
|
||||
"seventeentrack": [
|
||||
"poetry-core"
|
||||
],
|
||||
"sfepy": [
|
||||
"cython"
|
||||
],
|
||||
|
@ -1301,9 +1433,15 @@
|
|||
"slowapi": [
|
||||
"poetry-core"
|
||||
],
|
||||
"socksio": [
|
||||
"flit-core"
|
||||
],
|
||||
"solo-python": [
|
||||
"flitBuildHook"
|
||||
],
|
||||
"soupsieve": [
|
||||
"hatchling"
|
||||
],
|
||||
"spacy-pkuseg": [
|
||||
"cython"
|
||||
],
|
||||
|
@ -1425,7 +1563,8 @@
|
|||
"cython"
|
||||
],
|
||||
"testpath": [
|
||||
"flit"
|
||||
"flit",
|
||||
"flit-core"
|
||||
],
|
||||
"testrepository": [
|
||||
"pbr"
|
||||
|
@ -1505,6 +1644,9 @@
|
|||
"typing-extensions": [
|
||||
"flit-core"
|
||||
],
|
||||
"uharfbuzz": [
|
||||
"cython"
|
||||
],
|
||||
"unpaddedbase64": [
|
||||
"poetry-core"
|
||||
],
|
||||
|
@ -1550,8 +1692,14 @@
|
|||
"yoda": [
|
||||
"cython"
|
||||
],
|
||||
"yte": [
|
||||
"poetry-core"
|
||||
],
|
||||
"zeversolarlocal": [
|
||||
"flit-core",
|
||||
"flitBuildHook"
|
||||
],
|
||||
"zwave-me-ws": [
|
||||
"poetry-core"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -8,13 +8,14 @@ let
|
|||
{ self
|
||||
, drv
|
||||
, attr
|
||||
, extraAttrs ? [ ]
|
||||
}:
|
||||
let
|
||||
buildSystem = if attr == "cython" then self.python.pythonForBuild.pkgs.cython else self.${attr};
|
||||
in
|
||||
(
|
||||
# Flit only works on Python3
|
||||
if (attr == "flit-core" || attr == "flit") && !self.isPy3k then drv
|
||||
if (attr == "flit-core" || attr == "flit" || attr == "hatchling") && !self.isPy3k then drv
|
||||
else
|
||||
drv.overridePythonAttrs (
|
||||
old:
|
||||
|
@ -23,7 +24,7 @@ let
|
|||
{ }
|
||||
else
|
||||
{
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ self.${attr} ];
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ self.${attr} ] ++ map (a: self.${a}) extraAttrs;
|
||||
}
|
||||
)
|
||||
);
|
||||
|
@ -55,6 +56,16 @@ lib.composeManyExtensions [
|
|||
systems)
|
||||
buildSystems)
|
||||
|
||||
# Build systems with conditionals
|
||||
(self: super: {
|
||||
|
||||
platformdirs =
|
||||
if lib.versionAtLeast super.platformdirs.version "2.5.2"
|
||||
then addBuildSystem { inherit self; drv = super.platformdirs; attr = "hatchling"; extraAttrs = [ "hatch-vcs" ]; }
|
||||
else super.platformdirs;
|
||||
|
||||
})
|
||||
|
||||
# Build fixes
|
||||
(self: super:
|
||||
let
|
||||
|
@ -437,6 +448,17 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
# Setuptools >= 60 broke build_py_2to3
|
||||
docutils =
|
||||
if lib.versionOlder super.docutils.version "0.16" && lib.versionAtLeast super.setuptools.version "60" then
|
||||
(
|
||||
super.docutils.overridePythonAttrs (
|
||||
old: {
|
||||
SETUPTOOLS_USE_DISTUTILS = "stdlib";
|
||||
}
|
||||
)
|
||||
) else super.docutils;
|
||||
|
||||
# Environment markers are not always included (depending on how a dep was defined)
|
||||
enum34 = if self.pythonAtLeast "3.4" then null else super.enum34;
|
||||
|
||||
|
@ -844,6 +866,17 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
lsassy =
|
||||
if super.lsassy.version == "3.1.1" then
|
||||
super.lsassy.overridePythonAttrs
|
||||
(old: {
|
||||
# pyproject.toml contains a constraint `rich = "^10.6.0"` which is not replicated in setup.py
|
||||
# hence pypi misses it and poetry pins rich to 11.0.0
|
||||
preConfigure = (old.preConfigure or "") + ''
|
||||
rm pyproject.toml
|
||||
'';
|
||||
}) else super.lsassy;
|
||||
|
||||
lxml = super.lxml.overridePythonAttrs (
|
||||
old: {
|
||||
nativeBuildInputs = with pkgs.buildPackages; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
|
||||
|
@ -1143,6 +1176,26 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
orjson =
|
||||
let
|
||||
getCargoHash = version: {
|
||||
"3.6.7" = "sha256-sz2k9podPB6QSptkyOu7+BoVTrKhefizRtYU+MICPt4=";
|
||||
"3.6.8" = "sha256-vpfceVtYkU09xszNIihY1xbqGWieqDquxwsAmDH8jd4=";
|
||||
}.${version} or null;
|
||||
in
|
||||
super.orjson.overridePythonAttrs (old: {
|
||||
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
|
||||
inherit (old) src;
|
||||
name = "${old.pname}-${old.version}";
|
||||
hash = getCargoHash old.version;
|
||||
};
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [
|
||||
pkgs.rustPlatform.cargoSetupHook
|
||||
pkgs.rustPlatform.maturinBuildHook
|
||||
];
|
||||
buildInputs = (old.buildInputs or [ ]) ++ lib.optional pkgs.stdenv.isDarwin pkgs.libiconv;
|
||||
});
|
||||
|
||||
osqp = super.osqp.overridePythonAttrs (
|
||||
old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.cmake ];
|
||||
|
@ -1150,6 +1203,29 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
|
||||
pandas = super.pandas.overridePythonAttrs (old: {
|
||||
|
||||
buildInputs = old.buildInputs or [ ] ++ lib.optional stdenv.isDarwin pkgs.libcxx;
|
||||
|
||||
# Doesn't work with -Werror,-Wunused-command-line-argument
|
||||
# https://github.com/NixOS/nixpkgs/issues/39687
|
||||
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
|
||||
|
||||
# For OSX, we need to add a dependency on libcxx, which provides
|
||||
# `complex.h` and other libraries that pandas depends on to build.
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
cpp_sdk="${lib.getDev pkgs.libcxx}/include/c++/v1";
|
||||
echo "Adding $cpp_sdk to the setup.py common_include variable"
|
||||
substituteInPlace setup.py \
|
||||
--replace "['pandas/src/klib', 'pandas/src']" \
|
||||
"['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
|
||||
'';
|
||||
|
||||
|
||||
enableParallelBuilding = true;
|
||||
});
|
||||
|
||||
pantalaimon = super.pantalaimon.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ pkgs.installShellFiles ];
|
||||
postInstall = old.postInstall or "" + ''
|
||||
|
@ -1196,8 +1272,12 @@ lib.composeManyExtensions [
|
|||
|
||||
pillow = super.pillow.overridePythonAttrs (
|
||||
old: {
|
||||
nativeBuildInputs = [ pkg-config self.pytest-runner ] ++ (old.nativeBuildInputs or [ ]);
|
||||
buildInputs = with pkgs; [ freetype libjpeg zlib libtiff libwebp tcl lcms2 ] ++ (old.buildInputs or [ ]);
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ])
|
||||
++ [ pkg-config self.pytest-runner ];
|
||||
buildInputs = with pkgs; (old.buildInputs or [ ])
|
||||
++ [ freetype libjpeg zlib libtiff libwebp tcl lcms2 ]
|
||||
++ lib.optionals (lib.versionAtLeast old.version "7.1.0") [ xorg.libxcb ]
|
||||
++ lib.optionals (self.isPyPy) [ tk xorg.libX11 ];
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -1246,6 +1326,14 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
psycopg2cffi = super.psycopg2cffi.overridePythonAttrs (
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ])
|
||||
++ lib.optional stdenv.isDarwin pkgs.openssl;
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.postgresql ];
|
||||
}
|
||||
);
|
||||
|
||||
py-solc-x = super.py-solc-x.overridePythonAttrs (
|
||||
old: {
|
||||
preConfigure = ''
|
||||
|
@ -1860,6 +1948,12 @@ lib.composeManyExtensions [
|
|||
|
||||
});
|
||||
|
||||
soundfile = super.soundfile.overridePythonAttrs (old: {
|
||||
postPatch = ''
|
||||
substituteInPlace soundfile.py --replace "_find_library('sndfile')" "'${pkgs.libsndfile.out}/lib/libsndfile${stdenv.hostPlatform.extensions.sharedLibrary}'"
|
||||
'';
|
||||
});
|
||||
|
||||
systemd-python = super.systemd-python.overridePythonAttrs (old: {
|
||||
buildInputs = old.buildInputs ++ [ pkgs.systemd ];
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.pkg-config ];
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rust-analyzer-unwrapped";
|
||||
version = "2022-04-11";
|
||||
cargoSha256 = "sha256-pc8S+5g67vN9170ABiHGe1t4Go0F63UiOeLd71USYCI=";
|
||||
version = "2022-05-02";
|
||||
cargoSha256 = "sha256-uZCUruIBTNTKYWYb8xQgJ6FsKlRi+Sh5n7m7aVk+hHQ=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rust-analyzer";
|
||||
repo = "rust-analyzer";
|
||||
rev = version;
|
||||
sha256 = "sha256-miMIrDawSS1zXh6EuX03x5ACM2NTabksssSyutSNpjY=";
|
||||
sha256 = "sha256-5kAbd/tTc9vkr27ar44hnpXdS0vQg0OLJUMlp0FBjqA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -136,7 +136,7 @@ let
|
|||
|
||||
${optionalString (enableNpm && stdenv.hostPlatform == stdenv.buildPlatform) ''
|
||||
mkdir -p $out/share/bash-completion/completions/
|
||||
$out/bin/npm completion > $out/share/bash-completion/completions/npm || :
|
||||
HOME=$TMPDIR $out/bin/npm completion > $out/share/bash-completion/completions/npm
|
||||
for dir in "$out/lib/node_modules/npm/man/"*; do
|
||||
mkdir -p $out/share/man/$(basename "$dir")
|
||||
for page in "$dir"/*; do
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "14.19.1";
|
||||
sha256 = "sha256-4a4J3YYas5rwRIO7XA+lTd2CtrFVQ76aJ+pnBKi6ndk=";
|
||||
version = "14.19.2";
|
||||
sha256 = "sha256-70N1qRUv9p8oI9eyCjtTdnoEYWS7rHgkQpyyFtFojPA=";
|
||||
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
|
||||
}
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
let
|
||||
pname = "platformsh";
|
||||
version = "3.79.0";
|
||||
version = "3.79.2";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/platformsh/platformsh-cli/releases/download/v${version}/platform.phar";
|
||||
sha256 = "sha256-gTh1VS/b+D8E67w6Q4u9h0EhpFZiA2gBGe4mo49+9KY=";
|
||||
sha256 = "sha256-STGMKWgI4C6ccg8DGUhdnEENOB2//gtpU0ljM4cQCXI=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
|
|
@ -1,17 +1,20 @@
|
|||
{ lib, python3 }:
|
||||
{ lib
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "rich-cli";
|
||||
version = "1.5.1";
|
||||
version = "1.7.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18qpdaw4drkwq71xikngwaarkjxhfc0nrb1zm36rw31b8dz0ij2k";
|
||||
sha256 = "sha256-fporylec9H+9G2v8D0O32ek7OQs3YRSma1xOpakClqk=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ python3.pkgs.poetry-core ];
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
rich
|
||||
|
@ -21,11 +24,18 @@ python3.pkgs.buildPythonApplication rec {
|
|||
rich-rst
|
||||
];
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'rich = "^12.3.0"' 'rich = "*"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rich_cli"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Textualize/rich-cli";
|
||||
description = "Command Line Interface to Rich";
|
||||
homepage = "https://github.com/Textualize/rich-cli";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jyooru ];
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ gnustep, lib, fetchFromGitHub, fetchpatch, makeWrapper, python3, lndir
|
||||
, openssl, openldap, sope, libmemcached, curl, libsodium, libytnef, libzip, pkg-config, nixosTests
|
||||
, oathToolkit }:
|
||||
, oath-toolkit }:
|
||||
gnustep.stdenv.mkDerivation rec {
|
||||
pname = "SOGo";
|
||||
version = "5.5.0";
|
||||
|
@ -13,7 +13,7 @@ gnustep.stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ gnustep.make makeWrapper python3 ];
|
||||
buildInputs = [ gnustep.base sope openssl libmemcached curl libsodium libytnef libzip pkg-config openldap oathToolkit ];
|
||||
buildInputs = [ gnustep.base sope openssl libmemcached curl libsodium libytnef libzip pkg-config openldap oath-toolkit ];
|
||||
|
||||
patches = [
|
||||
# TODO: take a closer look at other patches in https://sources.debian.org/patches/sogo/ and https://github.com/Skrupellos/sogo-patches
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "syft";
|
||||
version = "0.44.1";
|
||||
version = "0.45.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-kDTTOc2sPCKWGeVuXlGhOo2dHjBZ1QEE7jAEVs4a70U=";
|
||||
sha256 = "sha256-oexsu52x9rAqwTVxTVHzKPuaIfvg5lvvuBmKcnb2Yew=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
|
@ -20,7 +20,7 @@ buildGoModule rec {
|
|||
find "$out" -name .git -print0 | xargs -0 rm -rf
|
||||
'';
|
||||
};
|
||||
vendorSha256 = "sha256-ZWJzMDfCop5IT6mOvCWdtjGjVrZJxyM0z7iK3TiO+PI=";
|
||||
vendorSha256 = "sha256-d6ZBWX4/lgh610fBLTE1EUqZmpctLfxi2PSRifH+1jg=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
, gtest
|
||||
, cunit, snappy
|
||||
, makeWrapper
|
||||
, leveldb, oathToolkit
|
||||
, leveldb, oath-toolkit
|
||||
, libnl, libcap_ng
|
||||
, rdkafka
|
||||
, nixosTests
|
||||
|
@ -161,7 +161,7 @@ in rec {
|
|||
buildInputs = cryptoLibsMap.${cryptoStr} ++ [
|
||||
boost ceph-python-env libxml2 optYasm optLibatomic_ops optLibs3
|
||||
malloc zlib openldap lttng-ust babeltrace gperf gtest cunit
|
||||
snappy lz4 oathToolkit leveldb libnl libcap_ng rdkafka
|
||||
snappy lz4 oath-toolkit leveldb libnl libcap_ng rdkafka
|
||||
cryptsetup sqlite lua icu bzip2
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
linuxHeaders util-linux libuuid udev keyutils liburing optLibaio optLibxfs optZfs
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "chezmoi";
|
||||
version = "2.15.1";
|
||||
version = "2.15.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "twpayne";
|
||||
repo = "chezmoi";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-spIdY28ZC/+6bwWWwKW7Iu2E2eKD7MeRuxEAMN2e3H8=";
|
||||
sha256 = "sha256-zvr1O/HMSoZMtA/+dRO+co8Uy70qV8RPIDK3z8dRD28=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-D27a107gjHK4NYkJhZDd0SvhUmmRSl3DX519nglAoPo=";
|
||||
vendorSha256 = "sha256-UAjXCXypR1/SIJIZOS53LTyioKrXOECK9vh9t61W5gc=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -1,67 +0,0 @@
|
|||
{ lib, python3, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
self = py;
|
||||
# use click 7
|
||||
click = self.callPackage ../../../development/python2-modules/click/default.nix { };
|
||||
# needs pyyaml 5
|
||||
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
|
||||
name = "${oldAttrs.pname}-${version}";
|
||||
version = "5.4.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "yaml";
|
||||
repo = "pyyaml";
|
||||
rev = version;
|
||||
sha256 = "sha256-VUqnlOF/8zSOqh6JoEYOsfQ0P4g+eYqxyFTywgCS7gM=";
|
||||
};
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
PYTHONPATH="tests/lib3:$PYTHONPATH" ${self.python.interpreter} -m test_all
|
||||
runHook postCheck
|
||||
'';
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
with py.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "lookatme";
|
||||
version = "2.3.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-qIZMkgOm5jXmxTFLTqMBhpLBhfCL8xvUxxqpS6NjcVw=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
six
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/d0c-s4vage/lookatme/issues/126
|
||||
"test_sanity_check_that_errors_are_detected"
|
||||
"test_styles_defaults"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
pyyaml
|
||||
pygments
|
||||
marshmallow
|
||||
mistune
|
||||
urwid
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An interactive, terminal-based markdown presenter";
|
||||
homepage = "https://github.com/d0c-s4vage/lookatme";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ameer ];
|
||||
};
|
||||
}
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "grype";
|
||||
version = "0.36.0";
|
||||
version = "0.36.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-8bU7vuTbPoHGCoXiCc4p0rPzCSsYuXM3A2NAgIaHuIw=";
|
||||
sha256 = "sha256-BJSjJrDXZHB4MY4RZCmuC5Gn9YJiCQwyOFrXiGX1h18=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
|
@ -25,7 +25,7 @@ buildGoModule rec {
|
|||
'';
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-Dn3lDdwUK+C7pQwN3uq7p4WkyG5tXTPd18rQGpwqcPI=";
|
||||
vendorSha256 = "sha256-aIFom4hGx7HTobCh9YRyqyf9gUpJIaxAstUUkHjSFnA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, libpcap, pkg-config, openssl, lua5_3
|
||||
, pcre, libssh2
|
||||
, graphicalSupport ? false
|
||||
, libX11 ? null
|
||||
, gtk2 ? null
|
||||
, python2 ? null
|
||||
, makeWrapper ? null
|
||||
, withLua ? true
|
||||
}:
|
||||
|
@ -11,7 +9,7 @@
|
|||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nmap${optionalString graphicalSupport "-graphical"}";
|
||||
pname = "nmap";
|
||||
version = "7.92";
|
||||
|
||||
src = fetchurl {
|
||||
|
@ -41,7 +39,9 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = [
|
||||
(if withLua then "--with-liblua=${lua5_3}" else "--without-liblua")
|
||||
"--with-liblinear=included"
|
||||
] ++ optionals (!graphicalSupport) [ "--without-ndiff" "--without-zenmap" ];
|
||||
"--without-ndiff"
|
||||
"--without-zenmap"
|
||||
];
|
||||
|
||||
makeFlags = optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"AR=${stdenv.cc.bintools.targetPrefix}ar"
|
||||
|
@ -49,20 +49,8 @@ stdenv.mkDerivation rec {
|
|||
"CC=${stdenv.cc.targetPrefix}gcc"
|
||||
];
|
||||
|
||||
pythonPath = with python2.pkgs; optionals graphicalSupport [
|
||||
pygtk pysqlite pygobject2 pycairo
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ] ++ optionals graphicalSupport [ python2.pkgs.wrapPython ];
|
||||
buildInputs = [ pcre libssh2 libpcap openssl ] ++ optionals graphicalSupport (with python2.pkgs; [
|
||||
python2 libX11 gtk2
|
||||
]);
|
||||
|
||||
postInstall = optionalString graphicalSupport ''
|
||||
buildPythonPath "$out $pythonPath"
|
||||
patchPythonScript $out/bin/ndiff
|
||||
patchPythonScript $out/bin/zenmap
|
||||
'';
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ pcre libssh2 libpcap openssl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ set -euo pipefail
|
|||
|
||||
nixfile='default.nix'
|
||||
release_url='https://download.savannah.nongnu.org/releases/oath-toolkit/'
|
||||
attr='oathToolkit'
|
||||
attr='oath-toolkit'
|
||||
command='oathtool --version'
|
||||
|
||||
color() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, oathToolkit }:
|
||||
{ lib, stdenv, fetchFromGitHub, oath-toolkit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pass-otp";
|
||||
|
@ -11,12 +11,12 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0cpqrf3939hcvwg7sd8055ghc8x964ilimlri16czzx188a9jx9v";
|
||||
};
|
||||
|
||||
buildInputs = [ oathToolkit ];
|
||||
buildInputs = [ oath-toolkit ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e 's|OATH=\$(which oathtool)|OATH=${oathToolkit}/bin/oathtool|' otp.bash
|
||||
sed -i -e 's|OATH=\$(which oathtool)|OATH=${oath-toolkit}/bin/oathtool|' otp.bash
|
||||
'';
|
||||
|
||||
installFlags = [ "PREFIX=$(out)"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ mkDerivation, lib, fetchFromGitLab, cmake, extra-cmake-modules
|
||||
, ki18n
|
||||
, kitemmodels
|
||||
, oathToolkit
|
||||
, oath-toolkit
|
||||
, qgpgme
|
||||
, plasma-framework
|
||||
, qt5 }:
|
||||
|
@ -21,7 +21,7 @@ mkDerivation rec {
|
|||
buildInputs = [
|
||||
ki18n
|
||||
kitemmodels
|
||||
oathToolkit
|
||||
oath-toolkit
|
||||
qgpgme
|
||||
plasma-framework
|
||||
qt5.qtbase
|
||||
|
|
52
pkgs/tools/system/runitor/default.nix
Normal file
52
pkgs/tools/system/runitor/default.nix
Normal file
|
@ -0,0 +1,52 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, testers, runitor }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "runitor";
|
||||
version = "0.9.2";
|
||||
vendorSha256 = null;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdd";
|
||||
repo = "runitor";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LuCxn4j0MlnJjSh3d18YNzNrtbqtMPxgkZttqKUGJd4";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w" "-X main.Version=v${version}"
|
||||
];
|
||||
|
||||
# TODO(cole-h):
|
||||
# End-to-end tests requiring localhost networking currently under
|
||||
# OfBorg's Linux builders, while passing under Darwin.
|
||||
#
|
||||
# Ref: https://github.com/NixOS/nixpkgs/pull/170566#issuecomment-1114034891
|
||||
#
|
||||
# Temporarily disable tests.
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = runitor;
|
||||
command = "runitor -version";
|
||||
version = "v${version}";
|
||||
};
|
||||
|
||||
# Unit tests require binding to local addresses for listening sockets.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://bdd.fi/x/runitor";
|
||||
description = "A command runner with healthchecks.io integration";
|
||||
longDescription = ''
|
||||
Runitor runs the supplied command, captures its output, and based on its exit
|
||||
code reports successful or failed execution to https://healthchecks.io or your
|
||||
private instance.
|
||||
|
||||
Healthchecks.io is a web service for monitoring periodic tasks. It's like a
|
||||
dead man's switch for your cron jobs. You get alerted if they don't run on time
|
||||
or terminate with a failure.
|
||||
'';
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ bdd ];
|
||||
};
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
{lib, stdenv, fetchurl, python2, libxml2}:
|
||||
|
||||
assert libxml2.pythonSupport == true;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xpf";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tarballs.nixos.org/xpf-${version}.tar.gz";
|
||||
sha256 = "0ljx91w68rnh4871c0xlq2whlmhqz8dr39wcdczfjjpniqz1fmpz";
|
||||
};
|
||||
|
||||
buildInputs = [ python2 libxml2 ];
|
||||
|
||||
meta = {
|
||||
description = "XML Pipes and Filters - command line tools for manipulating and querying XML data";
|
||||
homepage = "http://www.cs.uu.nl/wiki/bin/view/Martin/XmlPipesAndFilters";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
|
@ -92,6 +92,7 @@ mapAliases ({
|
|||
aucdtect = throw "aucdtect: Upstream no longer provides download urls"; # Added 2020-12-26
|
||||
avldrums-lv2 = x42-avldrums; # Added 2020-03-29
|
||||
avxsynth = throw "avxsynth was removed because it was broken"; # Added 2021-05-18
|
||||
awesome-4-0 = awesome; # Added 2022-05-05
|
||||
aws-okta = throw "aws-okta is on indefinite hiatus. See https://github.com/segmentio/aws-okta/issues/278"; # Added 2022-04-05;
|
||||
azureus = throw "azureus is now known as vuze and the version in nixpkgs was really outdated"; # Added 2021-08-02
|
||||
|
||||
|
@ -146,6 +147,7 @@ mapAliases ({
|
|||
|
||||
c14 = throw "c14 is deprecated and archived by upstream"; # Added 2022-04-10
|
||||
caddy1 = throw "caddy 1.x has been removed from nixpkgs, as it's unmaintained: https://github.com/caddyserver/caddy/blob/master/.github/SECURITY.md#supported-versions"; # Added 2020-10-02
|
||||
caffe2 = throw "caffe2 has been removed: subsumed under the PyTorch project"; # Added 2022-04-25
|
||||
calibre-py2 = throw "calibre-py2 has been removed from nixpkgs, as calibre has upgraded to python 3. Please use calibre as replacement"; # Added 2021-01-13
|
||||
calibre-py3 = throw "calibre-py3 has been removed from nixpkgs, as calibre's default python version is now 3. Please use calibre as replacement"; # Added 2021-01-13
|
||||
callPackage_i686 = pkgsi686Linux.callPackage;
|
||||
|
@ -871,7 +873,8 @@ mapAliases ({
|
|||
nix_2_6 = nixVersions.nix_2_6;
|
||||
nixopsUnstable = nixops_unstable; # Added 2022-03-03
|
||||
nmap-unfree = nmap; # Added 2021-04-06
|
||||
nmap_graphical = throw "'nmap_graphical' has been renamed to/replaced by 'nmap-graphical'"; # Converted to throw 2022-02-22
|
||||
nmap-graphical = throw "nmap graphical support has been removed due to its python2 dependency"; # Added 2022-04-26
|
||||
nmap_graphical = throw "nmap graphical support has been removed due to its python2 dependency"; # Modified 2022-04-26
|
||||
nologin = throw "'nologin' has been renamed to/replaced by 'shadow'"; # Converted to throw 2022-02-22
|
||||
nordic-polar = throw "nordic-polar was removed on 2021-05-27, now integrated in nordic"; # Added 2021-05-27
|
||||
noto-fonts-cjk = noto-fonts-cjk-sans; # Added 2021-12-16
|
||||
|
@ -882,6 +885,7 @@ mapAliases ({
|
|||
|
||||
### O ###
|
||||
|
||||
oathToolkit = oath-toolkit; # Added 2022-04-04
|
||||
oracleXE = throw "oracleXE has been removed, as it's heavily outdated and unmaintained"; # Added 2020-10-09
|
||||
OVMF-CSM = throw "OVMF-CSM has been removed in favor of OVMFFull"; # Added 2021-10-16
|
||||
OVMF-secureBoot = throw "OVMF-secureBoot has been removed in favor of OVMFFull"; # Added 2021-10-16
|
||||
|
@ -1307,6 +1311,7 @@ mapAliases ({
|
|||
tshark = throw "'tshark' has been renamed to/replaced by 'wireshark-cli'"; # Converted to throw 2022-02-22
|
||||
tuijam = throw "tuijam has been removed because Google Play Music was discontinued"; # Added 2021-03-07
|
||||
turbo-geth = throw "turbo-geth has been renamed to erigon"; # Added 2021-08-08
|
||||
twister = throw "twister has been removed: abandoned by upstream and python2-only"; # Added 2022-04-26
|
||||
typora = throw "Newer versions of typora use anti-user encryption and refuse to start. As such it has been removed"; # Added 2021-09-11
|
||||
|
||||
### U ###
|
||||
|
@ -1393,6 +1398,7 @@ mapAliases ({
|
|||
xmonad_log_applet_gnome3 = throw "'xmonad_log_applet_gnome3' has been renamed to/replaced by 'xmonad_log_applet'"; # Converted to throw 2022-02-22
|
||||
xmpppy = throw "xmpppy has been removed from nixpkgs as it is unmaintained and python2-only";
|
||||
xp-pen-g430 = pentablet-driver; # Added 2020-05-03
|
||||
xpf = throw "xpf has been removed: abandoned by upstream"; # Added 2022-04-26
|
||||
xf86_video_nouveau = throw "'xf86_video_nouveau' has been renamed to/replaced by 'xorg.xf86videonouveau'"; # Converted to throw 2022-02-22
|
||||
xf86_input_mtrack = throw ''
|
||||
xf86_input_mtrack has been removed from nixpkgs as it is broken and
|
||||
|
|
|
@ -3362,6 +3362,10 @@ with pkgs;
|
|||
|
||||
earlyoom = callPackage ../os-specific/linux/earlyoom { };
|
||||
|
||||
easycrypt = callPackage ../applications/science/logic/easycrypt { };
|
||||
|
||||
easycrypt-runtest = callPackage ../applications/science/logic/easycrypt/runtest.nix { };
|
||||
|
||||
EBTKS = callPackage ../development/libraries/science/biology/EBTKS { };
|
||||
|
||||
ecasound = callPackage ../applications/audio/ecasound { };
|
||||
|
@ -8733,10 +8737,6 @@ with pkgs;
|
|||
|
||||
nmap = callPackage ../tools/security/nmap { };
|
||||
|
||||
nmap-graphical = nmap.override {
|
||||
graphicalSupport = true;
|
||||
};
|
||||
|
||||
nmap-formatter = callPackage ../tools/security/nmap-formatter { };
|
||||
|
||||
nmapsi4 = libsForQt5.callPackage ../tools/security/nmap/qt.nix { };
|
||||
|
@ -8827,7 +8827,7 @@ with pkgs;
|
|||
|
||||
oapi-codegen = callPackage ../tools/networking/oapi-codegen { };
|
||||
|
||||
oathToolkit = callPackage ../tools/security/oath-toolkit { };
|
||||
oath-toolkit = callPackage ../tools/security/oath-toolkit { };
|
||||
|
||||
oatpp = callPackage ../development/libraries/oatpp { };
|
||||
|
||||
|
@ -11801,10 +11801,6 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
};
|
||||
|
||||
xpf = callPackage ../tools/text/xml/xpf {
|
||||
libxml2 = libxml2Python;
|
||||
};
|
||||
|
||||
xsecurelock = callPackage ../tools/X11/xsecurelock { };
|
||||
|
||||
xsel = callPackage ../tools/misc/xsel { };
|
||||
|
@ -25260,11 +25256,10 @@ with pkgs;
|
|||
|
||||
avrdudess = callPackage ../applications/misc/avrdudess { };
|
||||
|
||||
awesome-4-0 = callPackage ../applications/window-managers/awesome {
|
||||
awesome = callPackage ../applications/window-managers/awesome {
|
||||
cairo = cairo.override { xcbSupport = true; };
|
||||
inherit (texFunctions) fontsConf;
|
||||
};
|
||||
awesome = awesome-4-0;
|
||||
|
||||
awesomebump = libsForQt5.callPackage ../applications/graphics/awesomebump { };
|
||||
|
||||
|
@ -27835,8 +27830,6 @@ with pkgs;
|
|||
inherit (luajitPackages) luafilesystem;
|
||||
};
|
||||
|
||||
lookatme = callPackage ../tools/misc/lookatme {};
|
||||
|
||||
looking-glass-client = callPackage ../applications/virtualization/looking-glass-client { };
|
||||
|
||||
ltc-tools = callPackage ../applications/audio/ltc-tools { };
|
||||
|
@ -29358,7 +29351,7 @@ with pkgs;
|
|||
|
||||
udevil = callPackage ../applications/misc/udevil {};
|
||||
|
||||
udiskie = python3.pkgs.callPackage ../applications/misc/udiskie { };
|
||||
udiskie = callPackage ../applications/misc/udiskie { };
|
||||
|
||||
sacc = callPackage ../applications/networking/gopher/sacc { };
|
||||
|
||||
|
@ -30073,10 +30066,6 @@ with pkgs;
|
|||
swt = swt_jdk8;
|
||||
};
|
||||
|
||||
twister = callPackage ../applications/networking/p2p/twister {
|
||||
boost = boost16x;
|
||||
};
|
||||
|
||||
twmn = libsForQt5.callPackage ../applications/misc/twmn { };
|
||||
|
||||
testssl = callPackage ../applications/networking/testssl { };
|
||||
|
@ -33427,13 +33416,6 @@ with pkgs;
|
|||
|
||||
caffeWithCuda = caffe.override { cudaSupport = true; };
|
||||
|
||||
caffe2 = callPackage ../development/libraries/science/math/caffe2 (rec {
|
||||
inherit (python3Packages) python future six numpy pydot;
|
||||
protobuf = protobuf3_1;
|
||||
python-protobuf = python3Packages.protobuf.override { inherit protobuf; };
|
||||
opencv3 = opencv3WithoutCuda; # Used only for image loading.
|
||||
});
|
||||
|
||||
caffeine-ng = callPackage ../tools/X11/caffeine-ng {};
|
||||
|
||||
cntk = callPackage ../applications/science/math/cntk {
|
||||
|
@ -34473,6 +34455,8 @@ with pkgs;
|
|||
|
||||
runit = callPackage ../tools/system/runit { };
|
||||
|
||||
runitor = callPackage ../tools/system/runitor { };
|
||||
|
||||
refind = callPackage ../tools/bootloaders/refind { };
|
||||
|
||||
spectrojack = callPackage ../applications/audio/spectrojack { };
|
||||
|
|
|
@ -9484,7 +9484,9 @@ in {
|
|||
|
||||
skytemple-icons = callPackage ../development/python-modules/skytemple-icons { };
|
||||
|
||||
skytemple-rust = callPackage ../development/python-modules/skytemple-rust { };
|
||||
skytemple-rust = callPackage ../development/python-modules/skytemple-rust {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation;
|
||||
};
|
||||
|
||||
skytemple-ssb-debugger = callPackage ../development/python-modules/skytemple-ssb-debugger { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue