Merge master into staging-next
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bitwig-studio";
|
||||
version = "4.2.2";
|
||||
version = "4.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.bitwig.com/stable/${version}/${pname}-${version}.deb";
|
||||
sha256 = "sha256-cpEV0EWW9vd2ZE+RaqN9fhyy7axgPlx4PmlOeX3TSfY=";
|
||||
sha256 = "sha256-UCafrjrEwwHkhPum7sTOjtXzy7PNeK5/aeKg+b3CGJU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
|
||||
|
||||
@@ -38,13 +38,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cudatext";
|
||||
version = "1.162.0";
|
||||
version = "1.162.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Alexey-T";
|
||||
repo = "CudaText";
|
||||
rev = version;
|
||||
sha256 = "sha256-lAH0HXtzWs1iFVzM/tvnBT1s1Mt0AGs4TqdtFu1NeMw=";
|
||||
sha256 = "sha256-CQ0TPZH9A37WK+gm7jgCxL5eF+1SxHlsJTTzMVRkHIs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
},
|
||||
"ATSynEdit": {
|
||||
"owner": "Alexey-T",
|
||||
"rev": "2022.04.18",
|
||||
"sha256": "sha256-tvFESbamCt7A6Xv8WGh0dKzr9neelYMM7guySOunfvk="
|
||||
"rev": "2022.04.21",
|
||||
"sha256": "sha256-rPbQ3LNBXNHi9dgQKSaaCsuAY/VIzgq9tqlRXRl2IqU="
|
||||
},
|
||||
"ATSynEdit_Cmp": {
|
||||
"owner": "Alexey-T",
|
||||
@@ -26,8 +26,8 @@
|
||||
},
|
||||
"EControl": {
|
||||
"owner": "Alexey-T",
|
||||
"rev": "2022.04.18",
|
||||
"sha256": "sha256-Wp+/f/z2H/WANq9u8mRDn0BaeyFWiPpLrW0YqyT+ezw="
|
||||
"rev": "2022.04.21",
|
||||
"sha256": "sha256-le6ulGFUNjeipYQKzVFezFb9u/0IcQcu5BMxFaIZdyw="
|
||||
},
|
||||
"ATSynEdit_Ex": {
|
||||
"owner": "Alexey-T",
|
||||
|
||||
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-qnb0yB/NNJV257dsLmP84brajoRG03U+Ja1ACYbBvbE=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
substituteInPlace configure --replace "./conftest" "echo"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [ "PKG_CONFIG=${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config" ];
|
||||
|
||||
@@ -14,6 +14,15 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-Z8B1RIFve3UPj+9G/WJX0BNc2ynG/qtoGfoesarYGz8=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
substituteInPlace configure --replace "./conftest" "echo"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -m755 -Dt $out/bin ed
|
||||
install -m644 -Dt $out/share/man/man1 ed.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ibara/oed";
|
||||
description = "Portable ed editor from OpenBSD";
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "calcurse";
|
||||
version = "4.7.1";
|
||||
version = "4.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://calcurse.org/files/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-CnxV0HZ0Vp0WbAsOdYeyly09qBYM231gsdvSiVgDr7A=";
|
||||
sha256 = "sha256-SKc2ZmzEtrUwEtc7OqcBUsGLQebHtIB/qw8WjWRa4yw=";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses gettext python3 python3Packages.wrapPython ];
|
||||
@@ -28,7 +28,8 @@ stdenv.mkDerivation rec {
|
||||
be used to filter and format appointments, making it suitable for use in scripts.
|
||||
'';
|
||||
homepage = "https://calcurse.org/";
|
||||
changelog = "https://git.calcurse.org/calcurse.git/plain/CHANGES.md?h=v${version}";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "IPMIView";
|
||||
version = "2.19.0";
|
||||
buildVersion = "210401";
|
||||
version = "2.20.0";
|
||||
buildVersion = "220309";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.supermicro.com/wftp/utility/IPMIView/Linux/IPMIView_${version}_build.${buildVersion}_bundleJRE_Linux_x64.tar.gz";
|
||||
sha256 = "sha256-6hxOu/Wkcrp9MaMYlxOR2DZW21Wi3BIFZp3Vm8NRBWs=";
|
||||
hash = "sha256-qtklBMuK0jb9Ye0IkYM2WYFRMAfZg9tk08a1JQ64cjA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ patchelf makeWrapper ];
|
||||
|
||||
@@ -212,7 +212,7 @@ stdenv.mkDerivation (rec {
|
||||
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/97d0b0a367e4c6a52a17c3299439ac7de129da24.patch";
|
||||
sha256 = "0r4zjj0bv1x1m2dgxp3adsf2xkr94fjnyj1igsivd9ilbs5ja0b5";
|
||||
})
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
|
||||
|
||||
# Prevent the paths module from emitting symbols that we don't use
|
||||
# when building with separate outputs.
|
||||
|
||||
@@ -192,7 +192,7 @@ stdenv.mkDerivation (rec {
|
||||
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/c6132c782d974a7701e7f6447bdcd2bf6db4299a.patch?merge_request_iid=7423";
|
||||
sha256 = "sha256-b4feGZIaKDj/UKjWTNY6/jH4s2iate0wAgMxG3rAbZI=";
|
||||
})
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
] ++ lib.optionals (stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64) [
|
||||
|
||||
# Prevent the paths module from emitting symbols that we don't use
|
||||
# when building with separate outputs.
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "open-watcom-v2";
|
||||
version = "unstable-2022-04-21";
|
||||
version = "unstable-2022-04-23";
|
||||
name = "${pname}-unwrapped-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-watcom";
|
||||
repo = "open-watcom-v2";
|
||||
rev = "bec9e74cdcd048db527ccacc8894493d2ec6e12a";
|
||||
sha256 = "iJG7+OQYZCRyKO/NXkM3gJjgWRbQk26O+66QaAIJAcc=";
|
||||
rev = "3351d37f44eef84fcd428b8b5537cb29a7db22a8";
|
||||
sha256 = "mSF9xFKJ5AQ+Ds84qMD8xJJ7B9AMujgksxMNzSDzLA4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nickel";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tweag";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}"; # because pure ${version} doesn't work
|
||||
hash = "sha256-St8oK9vP2cAhsNindkebtAMeRPwYggP9E4CciSZc7oA=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-VsyK/api8acIpADpXQ8RdbRLiZwHFSDH0vwQrZQ8zp4=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://nickel-lang.org/";
|
||||
description = "Better configuration for less";
|
||||
longDescription = ''
|
||||
Nickel is the cheap configuration language.
|
||||
|
||||
Its purpose is to automate the generation of static configuration files -
|
||||
think JSON, YAML, XML, or your favorite data representation language -
|
||||
that are then fed to another system. It is designed to have a simple,
|
||||
well-understood core: it is in essence JSON with functions.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenvNoCC, lib, fetchFromGitHub, bats }:
|
||||
|
||||
let version = "0.4.1";
|
||||
let version = "0.5.0";
|
||||
in stdenvNoCC.mkDerivation {
|
||||
pname = "bash-preexec";
|
||||
inherit version;
|
||||
@@ -9,7 +9,7 @@ in stdenvNoCC.mkDerivation {
|
||||
owner = "rcaloras";
|
||||
repo = "bash-preexec";
|
||||
rev = version;
|
||||
sha256 = "062iigps285628p710i7vh7kmgra5gahq9qiwj7rxir167lg0ggw";
|
||||
sha256 = "sha256-+FU5n7EkY78X5nUiW3WN9+6Bf6oiPjsG2MSRCleooFs=";
|
||||
};
|
||||
|
||||
checkInputs = [ bats ];
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "freeimage";
|
||||
version = "unstable-2020-07-04";
|
||||
version = "unstable-2021-11-01";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "svn://svn.code.sf.net/p/freeimage/svn/";
|
||||
rev = "1859";
|
||||
sha256 = "1d94935aqbkb994nqkw7m8xcynyz9rm6k7k59igrbjak8b63qpi6";
|
||||
rev = "1900";
|
||||
sha256 = "rWoNlU/BWKZBPzRb1HqU6T0sT7aK6dpqKPe88+o/4sA=";
|
||||
};
|
||||
sourceRoot = "svn-r1859/FreeImage/trunk";
|
||||
sourceRoot = "svn-r1900/FreeImage/trunk";
|
||||
|
||||
# Ensure that the bundled libraries are not used at all
|
||||
prePatch = "rm -rf Source/Lib* Source/OpenEXR Source/ZLib";
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
||||
{ libraw, fetchFromGitHub }:
|
||||
|
||||
libraw.overrideAttrs (_: rec {
|
||||
version = "0.20.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = version;
|
||||
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
||||
};
|
||||
})
|
||||
@@ -1,14 +1,14 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, lcms2, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
pname = "libraw";
|
||||
version = "0.20.2";
|
||||
version = "unstable-2021-12-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = version;
|
||||
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
||||
rev = "52b2fc52e93a566e7e05eaa44cada58e3360b6ad";
|
||||
sha256 = "kW0R4iPuqnFuWYDrl46ok3kaPcGgY2MqZT7mqVX+BDQ=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "lib" "dev" "doc" ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libvmaf";
|
||||
version = "2.3.0";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "netflix";
|
||||
repo = "vmaf";
|
||||
rev = "v${version}";
|
||||
sha256 = "12mwl7vxc3xi0qar386mkhkpah9zzgjb74mzc2qqsgz9zzxp16dm";
|
||||
sha256 = "sha256-TkMy2tEdG1FPPWfH/wPnVbs5kocqe4Y0jU4yvbiRZ9k=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/libvmaf";
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apprise";
|
||||
version = "0.9.8";
|
||||
version = "0.9.8.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-PK1WxfJHWHbe/l+/6woBA2Gik+rKF5Uiuf35r4KNzEM=";
|
||||
hash = "sha256-EDKa77sU09HOBp4NVsHNwp6S4UbHyqX8T8rFGOnV8kA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery";
|
||||
version = "5.2.3";
|
||||
version = "5.2.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-4s1BZnrZfU9qL0Zy0cam662hlMYZJTBYtfI3BKqtqoI=";
|
||||
hash = "sha256-0TmMrfMPV2Jms0Nw4o6IAwbsVfektjB1SbCunBVmNIE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-appbuilder";
|
||||
version = "3.4.4";
|
||||
version = "4.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -35,14 +35,10 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "Flask-AppBuilder";
|
||||
inherit version;
|
||||
sha256 = "sha256-uZzuvNusqMzAS/vmg3CuZ+D442J4LbFwsBboVIx/srE=";
|
||||
hash = "sha256-g+iHUL83PokXPGu7HJ8ffLocQr0uGpMqS5MbfIlZZ2E=";
|
||||
};
|
||||
|
||||
# See here: https://github.com/dpgaspar/Flask-AppBuilder/commit/7097a7b133f27c78d2b54d2a46e4a4c24478a066.patch
|
||||
# https://github.com/dpgaspar/Flask-AppBuilder/pull/1610
|
||||
# The patch from the PR doesn't apply cleanly so I edited it manually.
|
||||
patches = [
|
||||
./upgrade-to-flask_jwt_extended-4.patch
|
||||
(fetchpatch {
|
||||
# https://github.com/dpgaspar/Flask-AppBuilder/pull/1734
|
||||
name = "flask-appbuilder-wtf3.patch";
|
||||
@@ -82,16 +78,11 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "apispec[yaml]>=3.3, <4" "apispec[yaml] >=3.3" \
|
||||
--replace "Flask>=0.12, <2" "Flask" \
|
||||
--replace "Flask-Login>=0.3, <0.5" "Flask-Login >=0.3, <0.6" \
|
||||
--replace "Flask-Babel>=1, <2" "Flask-Babel >=1, <3" \
|
||||
--replace "Flask-Login>=0.3, <0.5" "Flask-Login >=0.3" \
|
||||
--replace "Flask-WTF>=0.14.2, <0.15.0" "Flask-WTF" \
|
||||
--replace "WTForms<3.0.0" "WTForms" \
|
||||
--replace "marshmallow-sqlalchemy>=0.22.0, <0.27.0" "marshmallow-sqlalchemy" \
|
||||
--replace "Flask-JWT-Extended>=3.18, <4" "Flask-JWT-Extended>=4.1.0" \
|
||||
--replace "PyJWT>=1.7.1, <2.0.0" "PyJWT>=2.0.1" \
|
||||
--replace "prison>=0.2.1, <1.0.0" "prison" \
|
||||
--replace "SQLAlchemy<1.4.0" "SQLAlchemy"
|
||||
--replace "prison>=0.2.1, <1.0.0" "prison"
|
||||
'';
|
||||
|
||||
# Majority of tests require network access or mongo
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "net2grid";
|
||||
version = "4.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "klaasnicolaas";
|
||||
repo = "python-net2grid";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Ihs8qUx50tAUcRBsVArRhzoLcQUi1vbYh8sPyK75AEk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
yarl
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"0.0.0"' '"${version}"' \
|
||||
--replace 'addopts = "--cov"' ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"net2grid"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with NET2GRID devices";
|
||||
homepage = "https://github.com/klaasnicolaas/python-net2grid";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "phonenumbers";
|
||||
version = "8.12.46";
|
||||
version = "8.12.47";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-HEQPYzbLSYk/8agybHC032k4Aq6YHyEPVFzUIVrEgTM=";
|
||||
sha256 = "sha256-Vv1gXS9UYOHfIRcIW2U7s4MiKV7GWOasqvycl2hn1SI=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "readme-renderer";
|
||||
version = "34.0";
|
||||
version = "35.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "readme_renderer";
|
||||
inherit version;
|
||||
sha256 = "sha256-37TRfyFwbRRfdHPgthyiRbpY6BDPmyIJpII5Z3+C5bA=";
|
||||
sha256 = "sha256-pyeZms/CIvwh2CoS7UjJV8SYl4XlhlgHxlpIfSFndJc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, pythonOlder
|
||||
, crytic-compile
|
||||
@@ -13,12 +13,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slither-analyzer";
|
||||
version = "0.8.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "0.8.3";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-77045eB7KvHBb0j61qz4zJTtEprg4/aH6MrPlQY1wiM=";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crytic";
|
||||
repo = "slither";
|
||||
rev = version;
|
||||
sha256 = "sha256-Kh5owlkRB9hDlfIRiS+aNFe4YtZj38CLeE3Fe+R7diM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -186,6 +186,8 @@ stdenv.mkDerivation rec {
|
||||
# we accept this fact because xcode_locator is only a short-lived process used during the build.
|
||||
./no-arc.patch
|
||||
|
||||
./gcc11.patch
|
||||
|
||||
# --experimental_strict_action_env (which may one day become the default
|
||||
# see bazelbuild/bazel#2574) hardcodes the default
|
||||
# action environment to a non hermetic value (e.g. "/usr/local/bin").
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
diff --git a/third_party/ijar/mapped_file_unix.cc b/third_party/ijar/mapped_file_unix.cc
|
||||
index 6e3a908..030e9ca 100644
|
||||
--- a/third_party/ijar/mapped_file_unix.cc
|
||||
+++ b/third_party/ijar/mapped_file_unix.cc
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <algorithm>
|
||||
+#include <limits>
|
||||
|
||||
#include "third_party/ijar/mapped_file.h"
|
||||
|
||||
diff --git a/third_party/ijar/zlib_client.h b/third_party/ijar/zlib_client.h
|
||||
index ed66163..c4b051e 100644
|
||||
--- a/third_party/ijar/zlib_client.h
|
||||
+++ b/third_party/ijar/zlib_client.h
|
||||
@@ -16,6 +16,7 @@
|
||||
#define THIRD_PARTY_IJAR_ZLIB_CLIENT_H_
|
||||
|
||||
#include <limits.h>
|
||||
+#include <limits>
|
||||
|
||||
#include "third_party/ijar/common.h"
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
tree-sitter-ruby = lib.importJSON ./tree-sitter-ruby.json;
|
||||
tree-sitter-rust = lib.importJSON ./tree-sitter-rust.json;
|
||||
tree-sitter-scala = lib.importJSON ./tree-sitter-scala.json;
|
||||
tree-sitter-scheme = lib.importJSON ./tree-sitter-scheme.json;
|
||||
tree-sitter-scss = lib.importJSON ./tree-sitter-scss.json;
|
||||
tree-sitter-sparql = lib.importJSON ./tree-sitter-sparql.json;
|
||||
tree-sitter-supercollider = lib.importJSON ./tree-sitter-supercollider.json;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"url": "https://github.com/6cdh/tree-sitter-scheme",
|
||||
"rev": "a1d2233f4e5498bb305858323c93525e1dd165c0",
|
||||
"date": "2022-04-07T21:19:08+08:00",
|
||||
"path": "/nix/store/ljq285gnl26w8jg1ahdhxk2xa4l2s3vn-tree-sitter-scheme",
|
||||
"sha256": "0ggh2jpgnnakhsry12m31f5ranjhgkkcxp5jhsqxw6ac778n28h9",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
@@ -312,6 +312,10 @@ let
|
||||
orga = "MichaHoffmann";
|
||||
repo = "tree-sitter-hcl";
|
||||
};
|
||||
"tree-sitter-scheme" = {
|
||||
orga = "6cdh";
|
||||
repo = "tree-sitter-scheme";
|
||||
};
|
||||
};
|
||||
|
||||
allGrammars =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
, fetchurl
|
||||
, erlang
|
||||
, elixir
|
||||
, python2
|
||||
, python3
|
||||
, libxml2
|
||||
, libxslt
|
||||
, xmlto
|
||||
@@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-c6GpB6CSCHiU9hTC9FkxyTc1UpNWxx5iP3y2dbTUfS0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip xmlto docbook_xml_dtd_45 docbook_xsl zip rsync ];
|
||||
buildInputs = [ erlang elixir python2 libxml2 libxslt glibcLocales ]
|
||||
nativeBuildInputs = [ unzip xmlto docbook_xml_dtd_45 docbook_xsl zip rsync python3 ];
|
||||
buildInputs = [ erlang elixir libxml2 libxslt glibcLocales ]
|
||||
++ lib.optionals stdenv.isDarwin [ AppKit Carbon Cocoa ];
|
||||
|
||||
outputs = [ "out" "man" "doc" ];
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
, sha256 ? null # when not specifying src
|
||||
, configureFlags ? []
|
||||
, buildInputs ? []
|
||||
, extraPatches ? []
|
||||
, fixPatch ? p: p
|
||||
, preConfigure ? ""
|
||||
, postInstall ? null
|
||||
@@ -134,7 +135,8 @@ stdenv.mkDerivation {
|
||||
url = "https://raw.githubusercontent.com/openwrt/packages/c057dfb09c7027287c7862afab965a4cd95293a3/net/nginx/patches/103-sys_nerr.patch";
|
||||
sha256 = "0s497x6mkz947aw29wdy073k8dyjq8j99lax1a1mzpikzr4rxlmd";
|
||||
})
|
||||
] ++ mapModules "patches");
|
||||
] ++ mapModules "patches")
|
||||
++ extraPatches;
|
||||
|
||||
hardeningEnable = optional (!stdenv.isDarwin) "pie";
|
||||
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
{ callPackage, ... } @ args:
|
||||
{ callPackage, fetchpatch, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix args {
|
||||
version = "1.20.2";
|
||||
sha256 = "0hjsyjzd35qyw49w210f67g678kvzinw4kg1acb0l6c2fxspd24m";
|
||||
extraPatches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2021-3618.patch";
|
||||
url = "https://github.com/nginx/nginx/commit/173f16f736c10eae46cd15dd861b04b82d91a37a.patch";
|
||||
sha256 = "0cnxmbkp6ip61w7y1ihhnvziiwzz3p3wi2vpi5c7yaj5m964k5db";
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, sqlite, pkg-config, dovecot, libtool, xapian, icu64 }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dovecot-fts-xapian";
|
||||
version = "1.5.4b";
|
||||
version = "1.5.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grosjo";
|
||||
repo = "fts-xapian";
|
||||
rev = version;
|
||||
sha256 = "sha256-RzwJjcUgk1XXQZpNdz86Pr9HsUaQCOSt5oSejnGVmgA=";
|
||||
sha256 = "sha256-KAZno4N/4dFH3QHFTs0wkY4PtGF+j4ZEjZzn9ljCjrM=";
|
||||
};
|
||||
|
||||
buildInputs = [ dovecot xapian icu64 sqlite ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub }:
|
||||
{ stdenv, lib, fetchFromGitHub, buildPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oksh";
|
||||
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-076nD0aPps6n5qkR3LQJ6Kn2g3mkov+/M0qSvxNLZ6o=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
substituteInPlace configure --replace "./conftest" "echo"
|
||||
'';
|
||||
|
||||
configureFlags = [ "--no-strip" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh)";
|
||||
homepage = "https://github.com/ibara/oksh";
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
let
|
||||
pname = "vector";
|
||||
version = "0.21.0";
|
||||
version = "0.21.1";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
@@ -39,10 +39,10 @@ rustPlatform.buildRustPackage {
|
||||
owner = "timberio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ZhOtrv63ZhG3OEWLTk+VdZr6Y6f9KvyCJvAKWck7B7o=";
|
||||
sha256 = "sha256-eskm+H0D+SB3PB76T6Z+iL5jjyy51lOXy88QXsn/Azs=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-VGB+ljojXGrQmcN0AT90hFk9h5nwjDTtzGpWmItw9x4=";
|
||||
cargoSha256 = "sha256-fN6o8Fcqdhs5c3RID+ok1Xo5g6nF9m3f8EWIJ47dn/k=";
|
||||
nativeBuildInputs = [ pkg-config cmake perl ];
|
||||
buildInputs = [ oniguruma openssl protobuf rdkafka zstd ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
|
||||
@@ -62,9 +62,8 @@ rustPlatform.buildRustPackage {
|
||||
buildFeatures = features;
|
||||
|
||||
# TODO investigate compilation failure for tests
|
||||
# dev dependency includes httpmock which depends on iashc which depends on curl-sys with http2 feature enabled
|
||||
# compilation fails because of a missing http2 include
|
||||
doCheck = !stdenv.isDarwin;
|
||||
# there are about 100 tests failing (out of 1100) for version 0.21.1
|
||||
doCheck = false;
|
||||
|
||||
checkFlags = [
|
||||
# tries to make a network access
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dnstake";
|
||||
version = "0.1.0";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pwnesia";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-XfZDRu1UrH5nVh1GQCQVaEamKorWSOxQZs556iDqfS8=";
|
||||
sha256 = "sha256-k6j7DIwK8YAKmEjn8JJO7XBcap9ui6cgUSJG7CeHAAM=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-l3IKvcO10C+PVDX962tFWny7eMNC48ATIVqiHjpVH/Y=";
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
, stdenv
|
||||
, pkg-config
|
||||
, gnutls
|
||||
, p11-kit
|
||||
, openssl
|
||||
, useOpenSSL ? false
|
||||
, gmp
|
||||
@@ -30,7 +31,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [ gmp libxml2 stoken zlib (if useOpenSSL then openssl else gnutls) ]
|
||||
++ lib.optional stdenv.isDarwin PCSC;
|
||||
++ lib.optional stdenv.isDarwin PCSC
|
||||
++ lib.optional stdenv.isLinux p11-kit;
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,29 +1,21 @@
|
||||
{ lib, stdenv, fetchsvn
|
||||
, makeWrapper, pkg-config
|
||||
, gawk, gnutls, libgcrypt, nettools, openresolv, perl
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
||||
, makeWrapper, pkg-config, perl
|
||||
, gawk, gnutls, libgcrypt, openresolv, vpnc-scripts
|
||||
, opensslSupport ? false, openssl # Distributing this is a GPL violation.
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "vpnc";
|
||||
version = "0.5.3-post-r550";
|
||||
src = fetchsvn {
|
||||
url = "https://svn.unix-ag.uni-kl.de/vpnc";
|
||||
rev = "550";
|
||||
sha256 = "0x4ckfv9lpykwmh28v1kyzz91y1j2v48fi8q5nsawrba4q0wlrls";
|
||||
version = "unstable-2021-11-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "streambinder";
|
||||
repo = "vpnc";
|
||||
rev = "c8bb5371b881f8853f191c495e762f834c9def5d";
|
||||
sha256 = "1j1p83nfc2fpwczjcggsby0b44hk97ky0s6vns6md3awlbpgdn57";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
mv $sourceRoot/trunk/* $sourceRoot/.
|
||||
rm -r $sourceRoot/{trunk,branches,tags}
|
||||
'';
|
||||
|
||||
patches = [ ./no_default_route_when_netmask.patch ];
|
||||
|
||||
# The `etc/vpnc/vpnc-script' script relies on `which' and on
|
||||
# `ifconfig' as found in net-tools (not GNU Inetutils).
|
||||
propagatedBuildInputs = [ nettools ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ]
|
||||
++ lib.optional (!opensslSupport) pkg-config;
|
||||
buildInputs = [ libgcrypt perl ]
|
||||
@@ -32,36 +24,15 @@ stdenv.mkDerivation {
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"ETCDIR=$(out)/etc/vpnc"
|
||||
"SCRIPT_PATH=$(out)/etc/vpnc/vpnc-script"
|
||||
"SCRIPT_PATH=${vpnc-scripts}/bin/vpnc-script"
|
||||
] ++ lib.optional opensslSupport "OPENSSL_GPL_VIOLATION=yes";
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs makeman.pl
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace "vpnc-script" \
|
||||
--replace "which" "type -P" \
|
||||
--replace "awk" "${gawk}/bin/awk" \
|
||||
--replace "/sbin/resolvconf" "${openresolv}/bin/resolvconf"
|
||||
|
||||
substituteInPlace "config.c" \
|
||||
--replace "/etc/vpnc/vpnc-script" "$out/etc/vpnc/vpnc-script"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
for i in "$out/{bin,sbin}/"*
|
||||
do
|
||||
wrapProgram $i --prefix PATH : \
|
||||
"${nettools}/bin:${nettools}/sbin"
|
||||
done
|
||||
|
||||
mkdir -p $out/share/doc/vpnc
|
||||
cp README nortel.txt ChangeLog $out/share/doc/vpnc/
|
||||
patchShebangs src/makeman.pl
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.unix-ag.uni-kl.de/~massar/vpnc/";
|
||||
homepage = "https://davidepucci.it/doc/vpnc/";
|
||||
description = "Virtual private network (VPN) client for Cisco's VPN concentrators";
|
||||
license = if opensslSupport then licenses.unfree else licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -uNr a/vpnc-script b/vpnc-script
|
||||
--- a/vpnc-script 2015-09-06 13:19:11.408661526 +0200
|
||||
+++ b/vpnc-script 2015-09-06 14:47:40.260871556 +0200
|
||||
@@ -647,7 +647,7 @@
|
||||
echo "$i" | grep : >/dev/null || \
|
||||
set_network_route "$i" "255.255.255.255" "32"
|
||||
done
|
||||
- elif [ -n "$INTERNAL_IP4_ADDRESS" ]; then
|
||||
+ elif [ -n "$INTERNAL_IP4_ADDRESS" -a -z "$INTERNAL_IP4_NETMASK" ]; then
|
||||
set_default_route
|
||||
fi
|
||||
if [ -n "$CISCO_IPV6_SPLIT_INC" ]; then
|
||||
@@ -8651,6 +8651,8 @@ with pkgs;
|
||||
|
||||
npapi_sdk = callPackage ../development/libraries/npapi-sdk {};
|
||||
|
||||
nickel = callPackage ../development/interpreters/nickel { };
|
||||
|
||||
npiet = callPackage ../development/interpreters/npiet { };
|
||||
|
||||
npth = callPackage ../development/libraries/npth {};
|
||||
@@ -13266,7 +13268,7 @@ with pkgs;
|
||||
inherit (stdenvAdapters) overrideCC;
|
||||
buildLlvmTools = buildPackages.llvmPackages_11.tools;
|
||||
targetLlvmLibraries = targetPackages.llvmPackages_11.libraries or llvmPackages_11.libraries;
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && buildPackages.stdenv.cc.isGNU) {
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) {
|
||||
stdenv = gcc7Stdenv;
|
||||
}));
|
||||
|
||||
@@ -13274,7 +13276,7 @@ with pkgs;
|
||||
inherit (stdenvAdapters) overrideCC;
|
||||
buildLlvmTools = buildPackages.llvmPackages_12.tools;
|
||||
targetLlvmLibraries = targetPackages.llvmPackages_12.libraries or llvmPackages_12.libraries;
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && buildPackages.stdenv.cc.isGNU) {
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) {
|
||||
stdenv = gcc7Stdenv;
|
||||
}));
|
||||
|
||||
@@ -13282,7 +13284,7 @@ with pkgs;
|
||||
inherit (stdenvAdapters) overrideCC;
|
||||
buildLlvmTools = buildPackages.llvmPackages_13.tools;
|
||||
targetLlvmLibraries = targetPackages.llvmPackages_13.libraries or llvmPackages_13.libraries;
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && buildPackages.stdenv.cc.isGNU) {
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) {
|
||||
stdenv = gcc7Stdenv;
|
||||
}));
|
||||
|
||||
@@ -13290,7 +13292,7 @@ with pkgs;
|
||||
inherit (stdenvAdapters) overrideCC;
|
||||
buildLlvmTools = buildPackages.llvmPackages_14.tools;
|
||||
targetLlvmLibraries = targetPackages.llvmPackages_14.libraries or llvmPackages_14.libraries;
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && buildPackages.stdenv.cc.isGNU) {
|
||||
} // lib.optionalAttrs (stdenv.hostPlatform.isi686 && stdenv.hostPlatform == stdenv.buildPlatform && buildPackages.stdenv.cc.isGNU) {
|
||||
stdenv = gcc7Stdenv;
|
||||
}));
|
||||
|
||||
@@ -17159,6 +17161,7 @@ with pkgs;
|
||||
|
||||
gegl = callPackage ../development/libraries/gegl {
|
||||
inherit (darwin.apple_sdk.frameworks) OpenCL;
|
||||
libraw = libraw_0_20;
|
||||
};
|
||||
|
||||
gensio = callPackage ../development/libraries/gensio {};
|
||||
@@ -23138,6 +23141,7 @@ with pkgs;
|
||||
};
|
||||
|
||||
libraw = callPackage ../development/libraries/libraw { };
|
||||
libraw_0_20 = callPackage ../development/libraries/libraw/0_20.nix { };
|
||||
|
||||
libraw1394 = callPackage ../development/libraries/libraw1394 { };
|
||||
|
||||
|
||||
@@ -79,6 +79,7 @@ mapAliases ({
|
||||
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
||||
Markups = markups; # added 2022-02-14
|
||||
MechanicalSoup = mechanicalsoup; # added 2021-06-01
|
||||
net2grid = gridnet; # add 2022-04-22
|
||||
nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
|
||||
pam = python-pam; # added 2020-09-07.
|
||||
PasteDeploy = pastedeploy; # added 2021-10-07
|
||||
|
||||
@@ -5537,8 +5537,6 @@ in {
|
||||
|
||||
nestedtext = callPackage ../development/python-modules/nestedtext { };
|
||||
|
||||
net2grid = callPackage ../development/python-modules/net2grid { };
|
||||
|
||||
netaddr = callPackage ../development/python-modules/netaddr { };
|
||||
|
||||
netcdf4 = callPackage ../development/python-modules/netcdf4 { };
|
||||
|
||||
Reference in New Issue
Block a user