Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2024-02-22 12:01:34 +00:00 committed by GitHub
commit f5d5478eea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
55 changed files with 4771 additions and 373 deletions

View File

@ -7968,12 +7968,12 @@ final: prev:
nvim-tree-lua = buildVimPlugin {
pname = "nvim-tree.lua";
version = "2024-02-12";
version = "2024-02-20";
src = fetchFromGitHub {
owner = "nvim-tree";
repo = "nvim-tree.lua";
rev = "863cf832ceb0b2377c913b7696dd7d64f4978941";
sha256 = "1pcfv6skwxifyzh94a8rjzz3gffflxlf5c2zvs851adc1lkhbwrp";
rev = "030defdb6522f5f716d8201d20ca1a2baa57ca66";
sha256 = "sha256-eWqm1Vk3KQspImy/k2aMXFmsXkVQkMjrVidUVmEJzek=";
};
meta.homepage = "https://github.com/nvim-tree/nvim-tree.lua/";
};

View File

@ -1383,8 +1383,8 @@ let
mktplcRef = {
name = "elixir-ls";
publisher = "JakeBecker";
version = "0.19.0";
sha256 = "sha256-31eenBOVUEY3MFaVmAjZsypr7U0d6IfVR3ZJfDqi3OY=";
version = "0.20.0";
sha256 = "sha256-p+YNBRzzA/EezBMxI5Rmdb8SdJgFV7QwuLVi1mcJV+E=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/JakeBecker.elixir-ls/changelog";

View File

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
homepage = "https://osmcode.org/osmium-tool/";
changelog = "https://github.com/osmcode/osmium-tool/blob/v${version}/CHANGELOG.md";
license = with licenses; [ gpl3Plus mit bsd3 ];
maintainers = with maintainers; [ das-g ];
maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
mainProgram = "osmium";
};
}

View File

@ -6,7 +6,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "flexget";
version = "3.11.18";
version = "3.11.19";
pyproject = true;
# Fetch from GitHub in order to use `requirements.in`
@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "Flexget";
repo = "Flexget";
rev = "refs/tags/v${version}";
hash = "sha256-ykHBGZS/1cRBdMuZ6tz+3QY5cOBxt+Z2Dp3lKuTKj7w=";
hash = "sha256-XqZPhjuk3f9EbDTu+iX2U6uOXTn3rFdYjQNx5Prte88=";
};
postPatch = ''

View File

@ -2,7 +2,7 @@
callPackage ./generic.nix {} rec {
pname = "signal-desktop";
dir = "Signal";
version = "6.47.1";
version = "6.48.0";
url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${version}_amd64.deb";
hash = "sha256-WRdn3T18xhWvlELtwlOs/ZoPuEt/yQgs7JP/1MGN5Ps=";
hash = "sha256-hQhMl3ArIZK+0u90uIw0mERv9z4aL1Nny9Qx/Cvsfl4=";
}

View File

@ -44,13 +44,13 @@ rec {
thunderbird-115 = (buildMozillaMach rec {
pname = "thunderbird";
version = "115.7.0";
version = "115.8.0";
application = "comm/mail";
applicationName = "Mozilla Thunderbird";
binaryName = pname;
src = fetchurl {
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
sha512 = "de9edb81cf5da494101bf927a5b963ccdec0cc9bff87ebd72d896c6e25102c1113b326f67302a81abd237048aa1e6150c4a97fe4b1892bc80030cbab9099e2d8";
sha512 = "a0bdd34bebda4973f714422293f10a5a96c2b12f097c68d76fa37c48943fdbfb32dd2e504faa0b88fd699118b1903e18c3bb54cb32cd5e2ff60c09966b23e79c";
};
extraPatches = [
# The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`.

View File

@ -6,31 +6,20 @@
python3.pkgs.buildPythonApplication rec {
pname = "strictdoc";
version = "0.0.40";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "strictdoc-project";
repo = pname;
repo = "strictdoc";
rev = "refs/tags/${version}";
hash = "sha256-kZ8qVhroSPSGAcgUFZb1vRI6JoFyjeg/0qYosbRnwyc=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"textx >= 3.0.0, == 3.*"' '"textx"' \
--replace '"docutils >= 0.16, == 0.*"' '"docutils"' \
--replace '"pygments >= 2.10.0, == 2.*"' '"pygments"' \
--replace '"lxml >= 4.6.2, == 4.*"' '"lxml"' \
--replace '"beautifulsoup4 >= 4.12.0, == 4.*"' '"beautifulsoup4"' \
--replace '"python-datauri >= 0.2.9, == 0.*"' '"python-datauri"' \
--replace '"XlsxWriter >= 1.3.7, == 1.*"' '"XlsxWriter"' \
--replace '"xlrd >= 2.0.1, == 2.*"' '"xlrd"' \
--replace '"reqif >= 0.0.33, == 0.*"' '"reqif"' \
--replace '"pybtex >= 0.23.0, == 0.*"' '"pybtex"'
'';
pythonRelaxDeps = true;
nativeBuildInputs = with python3.pkgs; [
hatchling
pythonRelaxDepsHook
];
propagatedBuildInputs = with python3.pkgs; [
@ -46,16 +35,20 @@ python3.pkgs.buildPythonApplication rec {
pygments
python-multipart
reqif
selenium
setuptools
spdx-tools
textx
toml
uvicorn
webdriver-manager
websockets
xlrd
xlsxwriter
] ++ uvicorn.optional-dependencies.standard;
nativeCheckInputs = with python3.pkgs; [
httpx
pytestCheckHook
];

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "primesieve";
version = "11.2";
version = "12.0";
src = fetchFromGitHub {
owner = "kimwalisch";
repo = "primesieve";
rev = "v${version}";
hash = "sha256-HtVuUS4dmTC7KosyBhqZ0QRstvon9WMxYf9Ocs1XIrs=";
hash = "sha256-xmOq18falvT8PKhJPwWm/aeOMf7I3ywR+h5OkTM3G6s=";
};
nativeBuildInputs = [ cmake ];

View File

@ -13,10 +13,10 @@ let
}.${system} or throwSystem;
hash = {
x86_64-linux = "sha256-lMlJezLLyN3OMtom/opbihUsrkCuWDGXB8j+o53JMBE=";
aarch64-linux = "sha256-Ccej0Amq/Yo2F2C21rC0E9rzwE4grvyP+q+QajEg1MA=";
x86_64-darwin = "sha256-DFGiYI1hc0GN+A63OWdcCHnwkDQKZ+fhrNozWtlebJs=";
aarch64-darwin = "sha256-iuGmmaCc0YbLUO6G8Uyy/DvNgmfV+TzU4j0VPyACQb4=";
x86_64-linux = "sha256-3B1TEToovw4C8rLsJv0Y3OPg8ZjMZ3Y29IzIs9Wm6II=";
aarch64-linux = "sha256-kD0yMHoJejKpK1cX/OPQLjPB8cXBp/aXy66YDxXINRw=";
x86_64-darwin = "sha256-DxyxR1t4UrqTn/ORrDiOryWCQ1L0DWXmlh2Hnm7kMS4=";
aarch64-darwin = "sha256-Ckbg/bZxeMpt2xtrLhJXo9DJTLluuWPVdGRRwiO1ZY8=";
}.${system} or throwSystem;
bin = "$out/bin/codeium_language_server";
@ -24,7 +24,7 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "codeium";
version = "1.6.38";
version = "1.6.39";
src = fetchurl {
name = "${finalAttrs.pname}-${finalAttrs.version}.gz";
url = "https://github.com/Exafunction/codeium/releases/download/language-server-v${finalAttrs.version}/language_server_${plat}.gz";

View File

@ -5,24 +5,24 @@
python3.pkgs.buildPythonApplication rec {
pname = "das";
version = "0.3.8";
format = "pyproject";
version = "1.0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "snovvcrash";
repo = "DivideAndScan";
rev = "refs/tags/v${version}";
hash = "sha256-a9gnEBTvZshw42M/GrpCgjZh6FOzL45aZqGRyeHO0ec=";
hash = "sha256-WZmWpcBqxsNH96nVWwoepFhsvdxZpYKmAjNd7ghIJMA=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'networkx = "^2.8.4"' 'networkx = "*"' \
--replace 'pandas = "^1.4.2"' 'pandas = "*"'
--replace 'netaddr = "^0.8.0"' 'netaddr = "*"'
'';
nativeBuildInputs = with python3.pkgs; [
poetry-core
nativeBuildInputs = [
python3.pkgs.poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
@ -47,5 +47,6 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/snovvcrash/DivideAndScan";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
mainProgram = "das";
};
}

View File

@ -3,7 +3,7 @@
, fetchFromGitHub
}:
let
version = "1.8.0";
version = "1.8.1";
in
python3.pkgs.buildPythonApplication {
pname = "fangfrisch";
@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication {
owner = "rseichter";
repo = "fangfrisch";
rev = "refs/tags/${version}";
hash = "sha256-lZDChg7og98LY20IaafVGM487F/anrVIBB39dp2r2g0=";
hash = "sha256-j5IUAMDXndLttQZQV3SZXdDka8bKDcwbotY2Nop3izc=";
};
nativeBuildInputs = [

View File

@ -11,11 +11,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "gpt4all-chat";
version = "2.7.0";
version = "2.7.1";
src = fetchFromGitHub {
fetchSubmodules = true;
hash = "sha256-l9Do58Cld9n89J+px8RPjyioIa0Bo3qGSQe7QEGcZr8=";
hash = "sha256-PXOnhSU8YaV0fcLAptSVjsUP2Za23GFUxyOkL0T6z0o=";
owner = "nomic-ai";
repo = "gpt4all";
rev = "v${finalAttrs.version}";

View File

@ -1,23 +1,39 @@
{ lib
, stdenv
, fetchurl
, libopcodes
, libiberty
, stdenv
, libbfd
, zlib
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lightning";
version = "2.2.2";
version = "2.2.3";
src = fetchurl {
url = "mirror://gnu/lightning/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
hash = "sha256-CsqCQt6tF9YhF7z8sHjmqeqFbMgXQoE8noOUvM5zs+I=";
url = "mirror://gnu/lightning/lightning-${finalAttrs.version}.tar.gz";
hash = "sha256-wEXHozoAr/v+sRBm+lAsA5kuR0piupWXeq0G28FMaCk=";
};
nativeCheckInputs = [ libopcodes ];
outputs = [ "out" "dev" "info" ];
buildInputs = [
libopcodes
libbfd
libiberty
zlib
];
strictDeps = true;
configureFlags = [
(lib.enableFeature true "disassembler")
];
doCheck = true;
meta = with lib; {
meta = {
homepage = "https://www.gnu.org/software/lightning/";
description = "Run-time code generation library";
longDescription = ''
@ -26,9 +42,9 @@ stdenv.mkDerivation (finalAttrs: {
it abstracts over the target CPU, as it exposes to the clients a
standardized RISC instruction set inspired by the MIPS and SPARC chips.
'';
maintainers = with maintainers; [ AndersonTorres ];
license = licenses.lgpl3Plus;
platforms = platforms.unix;
maintainers = with lib.maintainers; [ AndersonTorres ];
license = with lib.licenses; [ lgpl3Plus ];
platforms = lib.platforms.unix;
broken = stdenv.isDarwin; # failing tests
};
})

View File

@ -31,13 +31,13 @@ let
in
effectiveStdenv.mkDerivation (finalAttrs: {
pname = "llama-cpp";
version = "2167";
version = "2212";
src = fetchFromGitHub {
owner = "ggerganov";
repo = "llama.cpp";
rev = "refs/tags/b${finalAttrs.version}";
hash = "sha256-b6q4yqhEO2UMmaUy06+3zDVXwwkYgRRb55PP57D7UVQ=";
hash = "sha256-lB+/iA0b5JmIgpmQ0/M32Q52Y0VVOCoeiBpLe4owYsc=";
};
postPatch = ''

View File

@ -2,223 +2,219 @@
"depends": [
{
"method": "fetchzip",
"packages": [
"asynctools"
],
"path": "/nix/store/51nf7pb5cwg2n441ka6w6g6c4hdjsdj4-source",
"rev": "bb01d965a2ad0f08eaff6a53874f028ddbab4909",
"sha256": "0v4n7maskd07qsx8rsr9v0bs7nzbncmvxsn7j9jsk9azcy803v49",
"srcDir": "",
"url": "https://github.com/nickysn/asynctools/archive/bb01d965a2ad0f08eaff6a53874f028ddbab4909.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"asynctools"
],
"path": "/nix/store/86w001hvppm2xfmqzb3733rnd5s1dmc2-source",
"rev": "non-blocking",
"sha256": "1iyr2k3vrbqfwm70w9bsyhis799lm9rin8j5pkjxgrpshm1znpbd",
"srcDir": "",
"url": "https://github.com/yyoncho/asynctools/archive/non-blocking.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"bearssl"
],
"path": "/nix/store/drj65wylnxdbv4jqhymf7biiyjfb75v8-source",
"rev": "9372f27a25d0718d3527afad6cc936f6a853f86e",
"sha256": "152zbyqx12fmmjl4wn6kqqk1jzp1ywm4xvjd28ll9037f1pyd5ic",
"srcDir": "",
"url": "https://github.com/status-im/nim-bearssl/archive/9372f27a25d0718d3527afad6cc936f6a853f86e.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"chronicles"
],
"path": "/nix/store/ffz78k6z9wf8vj2kv1jdj5dq2rxf61j7-source",
"rev": "2a2681b60289aaf7895b7056f22616081eb1a882",
"sha256": "0n8awgrmn9f6vd7ibv1jlyxk61lrs7hc51fghilrw6g6xq5w9rxq",
"srcDir": "",
"url": "https://github.com/status-im/nim-chronicles/archive/2a2681b60289aaf7895b7056f22616081eb1a882.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"chronos"
],
"path": "/nix/store/l4zs1l1yw4yhf1f8q7r5x5z2szjygr6d-source",
"rev": "ba143e029f35fd9b4cd3d89d007cc834d0d5ba3c",
"sha256": "1lv3l9c4ifqzlfgpwpvpq2z3994zz1nirg8f59xrnfb7zgbv8l3i",
"srcDir": "",
"url": "https://github.com/status-im/nim-chronos/archive/ba143e029f35fd9b4cd3d89d007cc834d0d5ba3c.tar.gz"
"url": "https://github.com/status-im/nim-chronos/archive/ba143e029f35fd9b4cd3d89d007cc834d0d5ba3c.tar.gz",
"subDir": "",
"packages": [
"chronos"
]
},
{
"method": "fetchzip",
"packages": [
"faststreams"
],
"path": "/nix/store/4nj341ypj07hjvxv0462wpnywhkj02b5-source",
"rev": "422971502bd641703bf78a27cb20429e77fcfb8b",
"sha256": "0snzh904f8f3wn33liy6817q9ccx8mvsl88blhr49qh69mzbgnba",
"srcDir": "",
"url": "https://github.com/status-im/nim-faststreams/archive/422971502bd641703bf78a27cb20429e77fcfb8b.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"httputils"
],
"path": "/nix/store/jmgpadmdabybhij1srd81xfr873zgfmm-source",
"rev": "5065d2cf18dcb9812e25cc0e2c50eb357bde04cf",
"sha256": "069fw3h9cjn0hab9vhfri8ibld7yihb8ggyg1nv5vxz6i3x026m5",
"srcDir": "",
"url": "https://github.com/status-im/nim-http-utils/archive/5065d2cf18dcb9812e25cc0e2c50eb357bde04cf.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"json_rpc"
],
"path": "/nix/store/szg3jxcg0bf6zv224nyisqhnibkd2pxw-source",
"rev": "c8a5cbe26917e6716b1597dae2d08166f3ce789a",
"sha256": "1l1y4psbcd5w68j1zz172rlwsk7jxbwlr14r2kwnkj7xc7lfwlnx",
"srcDir": "",
"url": "https://github.com/yyoncho/nim-json-rpc/archive/c8a5cbe26917e6716b1597dae2d08166f3ce789a.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"json_serialization"
],
"path": "/nix/store/h0xl7qnw7bh513rb24k1n805x3n1rimw-source",
"rev": "d9394dc7286064902d825bbc1203d03d7218633a",
"sha256": "102m7jaxjip24a6hrnk0nvfb0vmdx5zq4m9i4xyzq8m782xyqp94",
"srcDir": "",
"url": "https://github.com/status-im/nim-json-serialization/archive/d9394dc7286064902d825bbc1203d03d7218633a.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"news"
],
"path": "/nix/store/siwfngb840kcdjdviy5rhlpvdpkw14sk-source",
"rev": "8bfd753649aa7e870ec45e93f1453d3bfcf66733",
"sha256": "0hvs4kfr4aais7ixvh9d7na2r2zjnvaw3m3rpklafn9qld2wpaav",
"srcDir": "src",
"url": "https://github.com/status-im/news/archive/8bfd753649aa7e870ec45e93f1453d3bfcf66733.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"news"
],
"path": "/nix/store/siwfngb840kcdjdviy5rhlpvdpkw14sk-source",
"rev": "status",
"sha256": "0hvs4kfr4aais7ixvh9d7na2r2zjnvaw3m3rpklafn9qld2wpaav",
"srcDir": "src",
"url": "https://github.com/status-im/news/archive/status.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"nimcrypto"
],
"path": "/nix/store/dnj20qh97ylf57nka9wbxs735wbw7yxv-source",
"rev": "4014ef939b51e02053c2e16dd3481d47bc9267dd",
"sha256": "1kgqr2lqaffglc1fgbanwcvhkqcbbd20d5b6w4lf0nksfl9c357a",
"srcDir": "",
"url": "https://github.com/cheatfate/nimcrypto/archive/4014ef939b51e02053c2e16dd3481d47bc9267dd.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"serialization"
],
"path": "/nix/store/ss096qz8svm5my0mjhk3imyrc2nm2x0y-source",
"rev": "4d541ec43454809904fc4c3c0a7436410ad597d2",
"sha256": "1a5x0fsxxkqpambz9q637dz0jrzv9q1jb3cya12k6106vc65lyf8",
"srcDir": "",
"url": "https://github.com/status-im/nim-serialization/archive/4d541ec43454809904fc4c3c0a7436410ad597d2.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"stew"
],
"path": "/nix/store/90rwcr71bq13cid74v4aazikv2s924r1-source",
"rev": "d9400ddea08341a65102cffdb693d3a7131efef4",
"sha256": "0gkmh63izhp0bxyfmwfvyp81bxnzwnc3r7nxr5a05xpl8crk85w2",
"srcDir": "",
"url": "https://github.com/status-im/nim-stew/archive/d9400ddea08341a65102cffdb693d3a7131efef4.tar.gz"
},
{
"method": "fetchzip",
"packages": [
"stint"
],
"path": "/nix/store/q42j4w2f70qfihcrpzgl3fspxihfsadb-source",
"rev": "c0ae9e10a9238883d18226fa28a5435c4d305e45",
"sha256": "0dxhjg5nf4sc4ga2zrxqcmr1v3ki9irkl603x0y3pz5sd8jdi731",
"srcDir": "",
"url": "https://github.com/status-im/nim-stint/archive/c0ae9e10a9238883d18226fa28a5435c4d305e45.tar.gz"
"url": "https://github.com/status-im/nim-stint/archive/c0ae9e10a9238883d18226fa28a5435c4d305e45.tar.gz",
"subDir": "",
"packages": [
"stint"
]
},
{
"method": "fetchzip",
"packages": [
"testutils"
],
"path": "/nix/store/hn5r1ywl4qzzjl9zj62w5m6f8bqkjn8q-source",
"rev": "dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34",
"sha256": "0fi59m8yvayzlh1ajbl98ddy43i3ikjqh3s5px16y0s3cidg4fai",
"path": "/nix/store/jmgpadmdabybhij1srd81xfr873zgfmm-source",
"rev": "5065d2cf18dcb9812e25cc0e2c50eb357bde04cf",
"sha256": "069fw3h9cjn0hab9vhfri8ibld7yihb8ggyg1nv5vxz6i3x026m5",
"srcDir": "",
"url": "https://github.com/status-im/nim-testutils/archive/dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34.tar.gz"
"url": "https://github.com/status-im/nim-http-utils/archive/5065d2cf18dcb9812e25cc0e2c50eb357bde04cf.tar.gz",
"subDir": "",
"packages": [
"httputils"
]
},
{
"method": "fetchzip",
"packages": [
"unittest2"
],
"path": "/nix/store/wdj38hf9hdyb1skgb6v0z00kxkdmnq04-source",
"rev": "b178f47527074964f76c395ad0dfc81cf118f379",
"sha256": "1ir20z9m4wmm0bs2dd2qiq75w0x3skv0yj7sqp6bqfh98ni44xdc",
"srcDir": "",
"url": "https://github.com/status-im/nim-unittest2/archive/b178f47527074964f76c395ad0dfc81cf118f379.tar.gz"
"url": "https://github.com/status-im/nim-unittest2/archive/b178f47527074964f76c395ad0dfc81cf118f379.tar.gz",
"subDir": "",
"packages": [
"unittest2"
]
},
{
"method": "fetchzip",
"packages": [
"websock"
],
"path": "/nix/store/yad26q3iv3r2lw9xs655kyx3hvflxi1p-source",
"rev": "2c3ae3137f3c9cb48134285bd4a47186fa51f0e8",
"sha256": "09pkxzsnahljkqyp540v1wwiqcnbkz5ji5bz9q9cwn3axpmqc3v7",
"srcDir": "",
"url": "https://github.com/status-im/nim-websock/archive/2c3ae3137f3c9cb48134285bd4a47186fa51f0e8.tar.gz"
"url": "https://github.com/status-im/nim-websock/archive/2c3ae3137f3c9cb48134285bd4a47186fa51f0e8.tar.gz",
"subDir": "",
"packages": [
"websock"
]
},
{
"method": "fetchzip",
"path": "/nix/store/siwfngb840kcdjdviy5rhlpvdpkw14sk-source",
"rev": "8bfd753649aa7e870ec45e93f1453d3bfcf66733",
"sha256": "0hvs4kfr4aais7ixvh9d7na2r2zjnvaw3m3rpklafn9qld2wpaav",
"srcDir": "src",
"url": "https://github.com/status-im/news/archive/8bfd753649aa7e870ec45e93f1453d3bfcf66733.tar.gz",
"subDir": "",
"packages": [
"with"
],
"news"
]
},
{
"method": "fetchzip",
"path": "/nix/store/ss096qz8svm5my0mjhk3imyrc2nm2x0y-source",
"rev": "4d541ec43454809904fc4c3c0a7436410ad597d2",
"sha256": "1a5x0fsxxkqpambz9q637dz0jrzv9q1jb3cya12k6106vc65lyf8",
"srcDir": "",
"url": "https://github.com/status-im/nim-serialization/archive/4d541ec43454809904fc4c3c0a7436410ad597d2.tar.gz",
"subDir": "",
"packages": [
"serialization"
]
},
{
"method": "fetchzip",
"path": "/nix/store/90rwcr71bq13cid74v4aazikv2s924r1-source",
"rev": "d9400ddea08341a65102cffdb693d3a7131efef4",
"sha256": "0gkmh63izhp0bxyfmwfvyp81bxnzwnc3r7nxr5a05xpl8crk85w2",
"srcDir": "",
"url": "https://github.com/status-im/nim-stew/archive/d9400ddea08341a65102cffdb693d3a7131efef4.tar.gz",
"subDir": "",
"packages": [
"stew"
]
},
{
"method": "fetchzip",
"path": "/nix/store/4nj341ypj07hjvxv0462wpnywhkj02b5-source",
"rev": "422971502bd641703bf78a27cb20429e77fcfb8b",
"sha256": "0snzh904f8f3wn33liy6817q9ccx8mvsl88blhr49qh69mzbgnba",
"srcDir": "",
"url": "https://github.com/status-im/nim-faststreams/archive/422971502bd641703bf78a27cb20429e77fcfb8b.tar.gz",
"subDir": "",
"packages": [
"faststreams"
]
},
{
"method": "fetchzip",
"path": "/nix/store/qkwz2w5haw8px691c6gkklvxxp38j9d3-source",
"rev": "2f95909c767605e06670dc70f5cffd6b9284f192",
"sha256": "1qdq9wpm6xahqczmvdn3a7yvvrw5x42ylvzmbybdwjzd8vmgg0zv",
"srcDir": "",
"url": "https://github.com/zevv/with/archive/2f95909c767605e06670dc70f5cffd6b9284f192.tar.gz"
"url": "https://github.com/zevv/with/archive/2f95909c767605e06670dc70f5cffd6b9284f192.tar.gz",
"subDir": "",
"packages": [
"with"
]
},
{
"method": "fetchzip",
"path": "/nix/store/hn5r1ywl4qzzjl9zj62w5m6f8bqkjn8q-source",
"rev": "dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34",
"sha256": "0fi59m8yvayzlh1ajbl98ddy43i3ikjqh3s5px16y0s3cidg4fai",
"srcDir": "",
"url": "https://github.com/status-im/nim-testutils/archive/dfc4c1b39f9ded9baf6365014de2b4bfb4dafc34.tar.gz",
"subDir": "",
"packages": [
"zlib"
],
"testutils"
]
},
{
"method": "fetchzip",
"path": "/nix/store/szg3jxcg0bf6zv224nyisqhnibkd2pxw-source",
"rev": "c8a5cbe26917e6716b1597dae2d08166f3ce789a",
"sha256": "1l1y4psbcd5w68j1zz172rlwsk7jxbwlr14r2kwnkj7xc7lfwlnx",
"srcDir": "",
"url": "https://github.com/yyoncho/nim-json-rpc/archive/c8a5cbe26917e6716b1597dae2d08166f3ce789a.tar.gz",
"subDir": "",
"packages": [
"json_rpc"
]
},
{
"method": "fetchzip",
"path": "/nix/store/dnj20qh97ylf57nka9wbxs735wbw7yxv-source",
"rev": "4014ef939b51e02053c2e16dd3481d47bc9267dd",
"sha256": "1kgqr2lqaffglc1fgbanwcvhkqcbbd20d5b6w4lf0nksfl9c357a",
"srcDir": "",
"url": "https://github.com/cheatfate/nimcrypto/archive/4014ef939b51e02053c2e16dd3481d47bc9267dd.tar.gz",
"subDir": "",
"packages": [
"nimcrypto"
]
},
{
"method": "fetchzip",
"path": "/nix/store/drj65wylnxdbv4jqhymf7biiyjfb75v8-source",
"rev": "9372f27a25d0718d3527afad6cc936f6a853f86e",
"sha256": "152zbyqx12fmmjl4wn6kqqk1jzp1ywm4xvjd28ll9037f1pyd5ic",
"srcDir": "",
"url": "https://github.com/status-im/nim-bearssl/archive/9372f27a25d0718d3527afad6cc936f6a853f86e.tar.gz",
"subDir": "",
"packages": [
"bearssl"
]
},
{
"method": "fetchzip",
"path": "/nix/store/h0xl7qnw7bh513rb24k1n805x3n1rimw-source",
"rev": "d9394dc7286064902d825bbc1203d03d7218633a",
"sha256": "102m7jaxjip24a6hrnk0nvfb0vmdx5zq4m9i4xyzq8m782xyqp94",
"srcDir": "",
"url": "https://github.com/status-im/nim-json-serialization/archive/d9394dc7286064902d825bbc1203d03d7218633a.tar.gz",
"subDir": "",
"packages": [
"json_serialization"
]
},
{
"method": "fetchzip",
"path": "/nix/store/ffz78k6z9wf8vj2kv1jdj5dq2rxf61j7-source",
"rev": "2a2681b60289aaf7895b7056f22616081eb1a882",
"sha256": "0n8awgrmn9f6vd7ibv1jlyxk61lrs7hc51fghilrw6g6xq5w9rxq",
"srcDir": "",
"url": "https://github.com/status-im/nim-chronicles/archive/2a2681b60289aaf7895b7056f22616081eb1a882.tar.gz",
"subDir": "",
"packages": [
"chronicles"
]
},
{
"method": "fetchzip",
"path": "/nix/store/51nf7pb5cwg2n441ka6w6g6c4hdjsdj4-source",
"rev": "bb01d965a2ad0f08eaff6a53874f028ddbab4909",
"sha256": "0v4n7maskd07qsx8rsr9v0bs7nzbncmvxsn7j9jsk9azcy803v49",
"srcDir": "",
"url": "https://github.com/nickysn/asynctools/archive/bb01d965a2ad0f08eaff6a53874f028ddbab4909.tar.gz",
"subDir": "",
"packages": [
"asynctools"
]
},
{
"method": "fetchzip",
"path": "/nix/store/br78rad2jnl6zka2q89qi6pkfiyn10fv-source",
"rev": "f34ca261efd90f118dc1647beefd2f7a69b05d93",
"sha256": "1k8y7m1ry1z8jm8hj8pa3vlqprshaa59cdwq2a4acrfw9ks5w482",
"srcDir": "",
"url": "https://github.com/status-im/nim-zlib/archive/f34ca261efd90f118dc1647beefd2f7a69b05d93.tar.gz"
"url": "https://github.com/status-im/nim-zlib/archive/f34ca261efd90f118dc1647beefd2f7a69b05d93.tar.gz",
"subDir": "",
"packages": [
"zlib"
]
}
]
}

View File

@ -7,11 +7,7 @@ buildNimPackage (final: prev: {
pname = "nimlangserver";
version = "1.2.0";
# lock.json was generated by converting
# nimble.lock into requires "<gitUrl>#revSha" in a dummy.nimble
# for all packages and then running nim_lk on said dummy package
# default nim_lk output fails because it attempts
# to use branches that will not work instead of HEAD for packages
# lock.json generated with github.com/daylinmorgan/nnl
lockFile = ./lock.json;
src = fetchFromGitHub {
@ -27,6 +23,7 @@ buildNimPackage (final: prev: {
final.src.meta
// {
description = "The Nim language server implementation (based on nimsuggest)";
homepage = "https://github.com/nim-lang/langserver";
license = licenses.mit;
mainProgram = "nimlangserver";
maintainers = with maintainers; [daylinmorgan];

View File

@ -5,8 +5,9 @@
owner = "tchajed";
inherit version;
defaultVersion = with lib.versions; lib.switch coq.coq-version [
{ case = range "8.10" "8.19"; out = "0.3.1"; }
{ case = range "8.10" "8.19"; out = "0.3.3"; }
] null;
release."0.3.3".sha256 = "sha256-HDIPeFHiC9EwhiOH7yMGJ9d2zJMhboTpRGf9kWcB9Io=";
release."0.3.1".sha256 = "sha256-DyGxO2tqmYZZluXN6Oy5Tw6fuLMyuyxonj8CCToWKkk=";
release."0.3.0".sha256 = "1ffr21dd6hy19gxnvcd4if2450iksvglvkd6q5713fajd72hmc0z";
releaseRev = v: "v${v}";

View File

@ -2,6 +2,7 @@
, stdenv
, wrapQtAppsHook
, fetchFromGitHub
, unstableGitUpdater
, cmake
, ninja
, pkg-config
@ -17,7 +18,7 @@
stdenv.mkDerivation {
pname = "libfive";
version = "unstable-2023-06-07";
version = "0-unstable-2024-02-14";
src = fetchFromGitHub {
owner = "libfive";
@ -95,6 +96,8 @@ stdenv.mkDerivation {
"libfive.stdlib"
];
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Infrastructure for solid modeling with F-Reps in C, C++, and Guile";
homepage = "https://libfive.com/";

View File

@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
"https://github.com/osmcode/libosmium/releases/tag/v${version}"
"https://github.com/osmcode/libosmium/blob/v${version}/CHANGELOG.md"
];
maintainers = with maintainers; [ das-g ];
maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
};
}

View File

@ -28,13 +28,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "pdal";
version = "2.6.2";
version = "2.6.3";
src = fetchFromGitHub {
owner = "PDAL";
repo = "PDAL";
rev = finalAttrs.version;
sha256 = "sha256-bYTSmrel8MLza+OxO+aOSsnkahjjqRRqUiVwAk23Gxk=";
sha256 = "sha256-wrgEbCYOGW1yrVxyX+UDa5jcUqab3letEGuvWnYvtac=";
};
patches = [

View File

@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
"https://github.com/mapbox/protozero/releases/tag/v${version}"
"https://github.com/mapbox/protozero/blob/v${version}/CHANGELOG.md"
];
maintainers = with maintainers; [ das-g ];
maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
};
}

View File

@ -6,24 +6,26 @@
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "aiocsv";
version = "1.2.5";
format = "setuptools";
version = "1.3.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MKuranowski";
repo = pname;
repo = "aiocsv";
rev = "refs/tags/v${version}";
hash = "sha256-4QvVYcTpwhFH57r+iMgmYciWIC2prRnL+ih7qx/CA/U=";
hash = "sha256-5jMmT7XY+1VNbDNciZS6B/oQJFj4XmGvhDITKWHCuOQ=";
};
nativeBuildInputs = [
cython
setuptools
];
nativeCheckInputs = [

View File

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, python
, fetchFromGitHub
# build system
@ -9,17 +10,31 @@
, pytestCheckHook
}:
# Switch version based on python version, as the situation isn't easy:
# https://github.com/wbond/asn1crypto/issues/269
# https://github.com/MatthiasValvekens/certomancer/issues/12
with (
if lib.versionOlder python.version "3.12" then rec {
version = "1.5.1";
rev = version;
hash = "sha256-M8vASxhaJPgkiTrAckxz7gk/QHkrFlNz7fFbnLEBT+M=";
} else {
version = "1.5.1-unstable-2023-11-03";
rev = "b763a757bb2bef2ab63620611ddd8006d5e9e4a2";
hash = "sha256-11WajEDtisiJsKQjZMSd5sDog3DuuBzf1PcgSY+uuXY=";
}
);
buildPythonPackage rec {
pname = "asn1crypto";
version = "1.5.1";
pyproject = true;
inherit version;
# Pulling from Github to run tests
src = fetchFromGitHub {
owner = "wbond";
repo = "asn1crypto";
rev = version;
hash = "sha256-M8vASxhaJPgkiTrAckxz7gk/QHkrFlNz7fFbnLEBT+M=";
inherit rev hash;
};
nativeBuildInputs = [

View File

@ -5,27 +5,29 @@
, fetchPypi
, isodate
, pythonOlder
, typing-extensions
, setuptools
}:
buildPythonPackage rec {
pname = "azure-eventgrid";
version = "4.16.0";
format = "setuptools";
version = "4.17.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-o895Xjp/su2mc1WHbsQvWDe28sX/HhLtOb7BC5TFkyg=";
hash = "sha256-6/bqxCAvewKR5lI6ulFpP3THu9DH1rDEFwsRynDJ6+k=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
azure-common
azure-core
isodate
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# Module has no tests
@ -37,7 +39,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
homepage = "https://github.com/Azure/azure-sdk-for-python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventgrid/azure-eventgrid";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_${version}/sdk/eventgrid/azure-eventgrid/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];

View File

@ -6,27 +6,29 @@
, fetchPypi
, isodate
, pythonOlder
, typing-extensions
, setuptools
}:
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "29.0.0";
format = "setuptools";
version = "29.1.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-0BiuK5JCj6rqfSYD8+GWca2k5SQ19MXEHR3TQcYzgoA=";
hash = "sha256-RohxeLsQNZM/BvpjEhwaydTFhx8gKuK4a8Svbh47NU8=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
azure-common
azure-mgmt-core
isodate
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
# has no tests
@ -38,7 +40,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Container Service Management Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerservice/azure-mgmt-containerservice";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerservice_${version}/sdk/containerservice/azure-mgmt-containerservice/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "botocore-stubs";
version = "1.34.46";
version = "1.34.47";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "botocore_stubs";
inherit version;
hash = "sha256-4b+wyj6vsQHP/4ELBPuPelp9MvkANXgyczsNbJ1YgOk=";
hash = "sha256-zB+sMY47KPTK5PZk2qFZj80dqof+WzErQCE3t2HtHEY=";
};
nativeBuildInputs = [

View File

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "flet-core";
version = "0.19.0";
version = "0.20.2";
pyproject = true;
src = fetchPypi {
pname = "flet_core";
inherit version;
hash = "sha256-JRV56SwIhrsJHX/fzQKI0R2o/I+H5xXCXVu7uBiyIP8=";
hash = "sha256-czkboJD/PjJA3F/z42qClErxNbQUgMt7QtbLd7yxhhw=";
};
nativeBuildInputs = [

View File

@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "flet-runtime";
version = "0.19.0";
version = "0.20.2";
pyproject = true;
src = fetchPypi {
pname = "flet_runtime";
inherit version;
hash = "sha256-no2oDGZG1svrOZLNAao279qeHwyk5SGibDG4UqpriiU=";
hash = "sha256-92gyaMME2R7k3AAFKsl7kIv8mVwi8pwQsGLD0ml82Q0=";
};
nativeBuildInputs = [

View File

@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "flet";
version = "0.19.0";
version = "0.20.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-YpML/NIUiL1WYg6zR6l60nJ6KRBfjMOjRbPDdjhR3/Q=";
hash = "sha256-3LhQI/hjenTxG/1DZP/zn2zs00rT5BviDAQYb2vucBM=";
};
nativeBuildInputs = [

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "google-cloud-testutils";
version = "1.3.3";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-bRjvNNmvsBy0sR4C0DoC/n7A9ez6AfXUJrXZiHKkz0g=";
hash = "sha256-1oocIuKssoUA1p2dxhqFy+nJjJtp4phwQnHN/L88C8s=";
};
propagatedBuildInputs = [

View File

@ -56,6 +56,6 @@ buildPythonPackage rec {
homepage = "https://github.com/mocnik-science/osm-python-tools";
license = licenses.gpl3Only;
changelog = "https://raw.githubusercontent.com/mocnik-science/osm-python-tools/v${version}/version-history.md";
maintainers = with maintainers; [ das-g ];
maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
};
}

View File

@ -2,24 +2,29 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "peaqevcore";
version = "19.6.10";
format = "setuptools";
version = "19.7.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-iaZrPgGD7BM7H+i2R9qQBM55KcFu/Rqyho3AxXw15N0=";
hash = "sha256-M5kUNZyQH5ibP4PvnWkp+LdOQXM6VfHGX3csXiPPHLg=";
};
postPatch = ''
sed -i "/extras_require/d" setup.py
'';
nativeBuildInputs = [
setuptools
];
# Tests are not shipped and source is not tagged
# https://github.com/elden1337/peaqev-core/issues/4
doCheck = false;

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
, pyxdg
}:
buildPythonPackage rec {
pname = "pybrowsers";
version = "0.5.2";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "roniemartinez";
repo = "browsers";
rev = version;
hash = "sha256-bsmOUa33VzqWCv2jhu6oukdRhWfpkeAM3FBjiBBwjSQ=";
};
postPatch = ''
sed -i "/--cov/d" pyproject.toml
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pyxdg
];
# Tests want to interact with actual browsers
doCheck = false;
pythonImportsCheck = [
"browsers"
];
meta = with lib; {
description = "Python library for detecting and launching browsers";
homepage = "https://github.com/roniemartinez/browsers";
changelog = "https://github.com/roniemartinez/browsers/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5,22 +5,24 @@
, importlib-metadata
, ipython
, lark
, matplotlib-inline
, nest-asyncio
, networkx
, numpy
, packaging
, poetry-core
, pydantic
, pytest-asyncio
, pytest-freezegun
, pytest-httpx
, pytest-mock
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, pythonRelaxDepsHook
, qcs-api-client
, qcs-sdk-python
, respx
, retry
, rpcq
, scipy
, syrupy
, tenacity
, types-deprecated
, types-python-dateutil
@ -29,18 +31,22 @@
buildPythonPackage rec {
pname = "pyquil";
version = "4.2.0";
format = "pyproject";
version = "4.6.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rigetti";
repo = pname;
repo = "pyquil";
rev = "refs/tags/v${version}";
hash = "sha256-LLhTK/wE42mBTrqjBbnkPvqSG8gP7Vx/3ip66hKHxXc=";
hash = "sha256-93dHujgGEh9/r9epAiUcUCiFCG7SFTAFoQbjQwwKhN0=";
};
patches = [
./pydantic.patch
];
pythonRelaxDeps = [
"lark"
"networkx"
@ -54,10 +60,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [
deprecated
lark
matplotlib-inline
networkx
numpy
qcs-api-client
retry
packaging
pydantic
qcs-sdk-python
rpcq
scipy
tenacity
@ -69,44 +77,17 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
pytestCheckHook
];
checkInputs = [
nest-asyncio
pytest-asyncio
pytest-freezegun
pytest-httpx
pytest-mock
pytestCheckHook
respx
syrupy
ipython
];
disabledTestPaths = [
# Tests require network access
"test/e2e/"
"test/unit/test_api.py"
"test/unit/test_engagement_manager.py"
"test/unit/test_operator_estimation.py"
"test/unit/test_wavefunction_simulator.py"
"test/unit/test_compatibility_v2_operator_estimation.py"
"test/unit/test_compatibility_v2_quantum_computer.py"
"test/unit/test_compatibility_v2_qvm.py"
"test/unit/test_quantum_computer.py"
"test/unit/test_qvm.py"
"test/unit/test_reference_wavefunction.py"
# Out-dated
"test/unit/test_qpu_client.py"
"test/unit/test_qvm_client.py"
"test/unit/test_reference_density.py"
];
disabledTests = [
"test_compile_with_quilt_calibrations"
"test_sets_timeout_on_requests"
# sensitive to lark parser output
"test_memory_commands"
"test_classical"
];
# tests hang
doCheck = false;
pythonImportsCheck = [
"pyquil"

View File

@ -0,0 +1,28 @@
diff --git a/pyproject.toml b/pyproject.toml
index 2677758..5bbe863 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,7 +30,7 @@ scipy = [
]
lark = "^0.11.1"
rpcq = "^3.10.0"
-pydantic = "^1.10.7"
+pydantic = ">=1.10.7"
networkx = ">=2.5"
importlib-metadata = { version = ">=3.7.3,<5", python = "<3.8" }
qcs-sdk-python = "0.14.3"
diff --git a/pyquil/external/rpcq.py b/pyquil/external/rpcq.py
index 719eca1..d814d7b 100644
--- a/pyquil/external/rpcq.py
+++ b/pyquil/external/rpcq.py
@@ -1,6 +1,9 @@
from typing import Dict, List, Union, Optional, Any
from typing_extensions import Literal
-from pydantic import BaseModel, Field
+try:
+ from pydantic.v1 import BaseModel, Field
+except ImportError:
+ from pydantic import BaseModel, Field
from rpcq.messages import TargetDevice as TargetQuantumProcessor

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,67 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, rustPlatform
, quil
, pytest-asyncio
, pytestCheckHook
, syrupy
}:
buildPythonPackage rec {
pname = "qcs-sdk-python";
version = "0.16.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "rigetti";
repo = "qcs-sdk-rust";
rev = "python/v${version}";
hash = "sha256-Q2PCARxaWqgVVnr2O+zhGcNHghC4gr31bxkv6+Rf/EQ=";
};
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"quil-rs-0.22.5" = "sha256-HUp41mOBjyAavhjFO5IJXHh2dVPcpFuDJ03nyRRuCCk=";
};
};
buildAndTestSubdir = "crates/python";
nativeBuildInputs = [
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
];
propagatedBuildInputs = [
quil
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
syrupy
];
disabledTests = [
"test_compile_program"
"test_conjugate_pauli_by_clifford"
"test_execute_qvm"
"test_generate_randomized_benchmark_sequence"
"test_get_report"
"test_get_version_info"
"test_list_quantum_processors_timeout"
];
meta = {
changelog = "https://github.com/rigetti/qcs-sdk-rust/blob/${src.rev}/crates/python/CHANGELOG.md";
description = "Python interface for the QCS Rust SDK";
homepage = "https://github.com/rigetti/qcs-sdk-rust/tree/main/crates/python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -0,0 +1,65 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, rustPlatform
, numpy
, pytestCheckHook
, syrupy
}:
buildPythonPackage rec {
pname = "quil";
version = "0.6.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "rigetti";
repo = "quil-rs";
rev = "quil-py/v${version}";
hash = "sha256-SYq0NOzYGJuXFPGjvYzGgKvioCk0hBxLR5S6VFU5d88=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
name = "${pname}-${version}";
inherit src;
hash = "sha256-qZY9eQxxlH59DE/RrZFC3G6Pp3IdJupPN5AhUnrKSKs=";
};
buildAndTestSubdir = "quil-py";
preConfigure = ''
cargo metadata --offline
'';
nativeBuildInputs = [
rustPlatform.cargoSetupHook
rustPlatform.maturinBuildHook
];
propagatedBuildInputs = [
numpy
];
pythonImportsCheck = [ "numpy" ];
nativeCheckInputs = [
pytestCheckHook
syrupy
];
disabledTests = [
# Syrupy snapshot needs to be regenerated
"test_filter_instructions"
];
meta = {
changelog = "https://github.com/rigetti/quil-rs/blob/${src.rev}/quil-py/CHANGELOG.md";
description = "Python package for building and parsing Quil programs";
homepage = "https://github.com/rigetti/quil-rs/tree/main/quil-py";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -1,38 +1,39 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, python
, fetchFromGitHub
, hatchling
, beautifulsoup4
, lxml
, jinja2
, lxml
, pytestCheckHook
, python
, pythonOlder
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
pname = "reqif";
version = "0.0.35";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "strictdoc-project";
repo = pname;
repo = "reqif";
rev = "refs/tags/${version}";
hash = "sha256-3yOLOflPqzJRv3qCQXFK3rIFftBq8FkYy7XhOfWH82Y=";
};
postPatch = ''
substituteInPlace ./tests/unit/conftest.py --replace \
"os.path.abspath(os.path.join(__file__, \"../../../../reqif\"))" \
substituteInPlace ./tests/unit/conftest.py \
--replace-fail "os.path.abspath(os.path.join(__file__, \"../../../../reqif\"))" \
"\"${placeholder "out"}/${python.sitePackages}/reqif\""
substituteInPlace requirements.txt --replace "==" ">="
'';
nativeBuildInputs = [
hatchling
pythonRelaxDepsHook
];
propagatedBuildInputs = [
@ -41,14 +42,14 @@ buildPythonPackage rec {
jinja2
];
pythonImportsCheck = [
"reqif"
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"reqif"
];
meta = with lib; {
description = "Python library for ReqIF format";
homepage = "https://github.com/strictdoc-project/reqif";

View File

@ -11,21 +11,21 @@
buildPythonPackage rec {
pname = "shtab";
version = "1.6.5";
format = "pyproject";
version = "1.7.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iterative";
repo = pname;
repo = "shtab";
rev = "refs/tags/v${version}";
hash = "sha256-jplcKVXWogSrYRGch0qypWGNzO9HErR5B9S1iT4eFcM=";
hash = "sha256-b2XXDyO/2AnlxViC6sEEYUGviF6+FGXBnBcdQOuTViY=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=shtab --cov-report=term-missing --cov-report=xml" ""
--replace-fail " --cov=shtab --cov-report=term-missing --cov-report=xml" ""
'';
nativeBuildInputs = [

View File

@ -53,7 +53,7 @@
buildPythonPackage rec {
pname = "transformers";
version = "4.38.0";
version = "4.38.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -62,7 +62,7 @@ buildPythonPackage rec {
owner = "huggingface";
repo = "transformers";
rev = "refs/tags/v${version}";
hash = "sha256-2WcRZz8ZuaKbdMM/XhGYzyH54FgKi644ek9xxQd8bPI=";
hash = "sha256-92WmvSFZYCCG4qJprPT7clYa7ePuvyaCvxni/spDhSw=";
};
propagatedBuildInputs = [

View File

@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "types-html5lib";
version = "1.1.11.20240221";
version = "1.1.11.20240222";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-mkKut60hArzno+NNCt/KSyXT2qLVTX4JUqiEXzrZCaI=";
hash = "sha256-2VF+xrovofYxE+KTClm2ByKpdsyYO5TX/XcvFIZeEVI=";
};
nativeBuildInputs = [

View File

@ -0,0 +1,73 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, packaging
, pybrowsers
, pytestCheckHook
, python-dotenv
, pythonOlder
, requests
, selenium
, setuptools
}:
buildPythonPackage rec {
pname = "webdriver-manager";
version = "4.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "SergeyPirogov";
repo = "webdriver_manager";
rev = "refs/tags/v${version}";
hash = "sha256-PdUlloJ4DncnktKQHofn/OLVrgSVyWhaeEEhl3Hgjek=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
packaging
python-dotenv
requests
];
nativeCheckInputs = [
pybrowsers
pytestCheckHook
selenium
];
pythonImportsCheck = [
"webdriver_manager"
];
disabledTestPaths = [
# Tests require network access and browsers available
"tests_negative/"
"tests_xdist/"
"tests/test_brave_driver.py"
"tests/test_chrome_driver.py"
"tests/test_chrome_driver.py"
"tests/test_chromium_driver.py"
"tests/test_custom_http_client.py"
"tests/test_downloader.py"
"tests/test_edge_driver.py"
"tests/test_firefox_manager.py"
"tests/test_ie_driver.py"
"tests/test_opera_manager.py"
"tests/test_opera_manager.py"
"tests/test_silent_global_logs.py"
];
meta = with lib; {
description = "Module to manage the binary drivers for different browsers";
homepage = "https://github.com/SergeyPirogov/webdriver_manager/";
changelog = "https://github.com/SergeyPirogov/webdriver_manager/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
, pythonOlder
}:
buildPythonPackage rec {
pname = "whoisdomain";
version = "1.20240129.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mboot-github";
repo = "WhoisDomain";
rev = "refs/tags/${version}";
hash = "sha256-nRj/WkYjMZuQoYF+QFIHABlek4DxvvEnOTeFYLHYvZc=";
};
nativeBuildInputs = [
hatchling
];
pythonImportsCheck = [
"whoisdomain"
];
# Tests require network access
doCheck = false;
meta = with lib; {
description = "Module to perform whois lookups";
homepage = "https://github.com/mboot-github/WhoisDomain";
changelog = "https://github.com/mboot-github/WhoisDomain/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -12,7 +12,7 @@
}:
stdenvNoCC.mkDerivation rec {
version = "1.0.27";
version = "1.0.28";
pname = "bun";
src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}");
@ -51,19 +51,19 @@ stdenvNoCC.mkDerivation rec {
sources = {
"aarch64-darwin" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip";
hash = "sha256-zGc5Y/PNoU1tOHKCH9SiBBWyIxs6gyTNPKwxFhJl3w0=";
hash = "sha256-kw39m8zD1f4uGjs2r/J2j8YbjbKDjZmFWxzf/x81poM=";
};
"aarch64-linux" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip";
hash = "sha256-IEBCZ7DrWzFs2Z97uRuQ1MsaxGqEz9/+BzTA/Qb4rnI=";
hash = "sha256-eJr3mWusSNrDqPHV5PwVsfGK4o57XDsBHozpPJE7HsU=";
};
"x86_64-darwin" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip";
hash = "sha256-fiY8cpy8REGOaETScUJpbN0HTJT0gAfjSfGLSDBeUs8=";
hash = "sha256-qkVy1w+MrlBplX0CLuW0yufnZ/+ETkJPSm/91KpAR+c=";
};
"x86_64-linux" = fetchurl {
url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip";
hash = "sha256-t48K6lueJaNcKPAuahzz2TVomWhv67SlYqeo7EBoqtM=";
hash = "sha256-a9upDXwlgmvF99ulUplrscWrsGp/7AsLTfx1FPYY41s=";
};
};
updateScript = writeShellScript "update-bun" ''

View File

@ -23,13 +23,13 @@
stdenv.mkDerivation rec {
pname = "performous";
version = "1.3.0";
version = "1.3.1";
src = fetchFromGitHub {
owner = "performous";
repo = "performous";
rev = "refs/tags/${version}";
hash = "sha256-y7kxLht15vULN9NxM0wzj9+7Uq4/3D5j9oBEnrTIwQ8=";
hash = "sha256-f70IHA8LqIlkMRwJqSmszx3keStSx50nKcEWLGEjc3g=";
};
cedSrc = fetchFromGitHub {

View File

@ -1,17 +1,18 @@
diff --git a/cmake/Modules/FindCed.cmake b/cmake/Modules/FindCed.cmake
index d6e2aca..3085adb 100644
index 5794bc84..08d6b49d 100644
--- a/cmake/Modules/FindCed.cmake
+++ b/cmake/Modules/FindCed.cmake
@@ -1,11 +1 @@
-include(LibFetchMacros)
-
-set(Ced_GIT_VERSION "master")
-
-libfetch_git_pkg(Ced
- REPOSITORY ${SELF_BUILT_GIT_BASE}/compact_enc_det.git
- #https://github.com/google/compact_enc_det.git
- REFERENCE ${Ced_GIT_VERSION}
- FIND_PATH compact_enc_det/compact_enc_det.h
-)
-message(STATUS "Found Google CED ${Ced_VERSION}")
+add_subdirectory(../ced-src ced-src)
@@ -22,12 +22,7 @@ elseif(SELF_BUILT_CED STREQUAL "AUTO")
pkg_check_modules(CED IMPORTED_TARGET GLOBAL CED)
if(NOT CED_FOUND)
message(STATUS "ced build from source because not found on system")
- libfetch_git_pkg(Ced
- REPOSITORY ${SELF_BUILT_GIT_BASE}/compact_enc_det.git
- #https://github.com/google/compact_enc_det.git
- REFERENCE ${Ced_GIT_VERSION}
- FIND_PATH compact_enc_det/compact_enc_det.h
- )
+ add_subdirectory(../ced-src ced-src)
else()
add_library(ced ALIAS PkgConfig::CED)
set(Ced_VERSION ${CED_VERSION})

View File

@ -7,12 +7,12 @@
, stdenv
}:
let
version = "23.3.5";
version = "23.3.6";
src = fetchFromGitHub {
owner = "redpanda-data";
repo = "redpanda";
rev = "v${version}";
sha256 = "sha256-rERKoaSZ/lscMW9IcHU00+l4BzvFCz3RMDCQyiEam0E=";
sha256 = "sha256-8VkMVbiwQDsYGour9fn0qYXXS/kWnhtARNaGmXVyaIY=";
};
server = callPackage ./server.nix { inherit src version; };
in

View File

@ -62,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
binaryBytecode # source bundles dependencies as jars
];
license = licenses.lgpl21Plus;
maintainers = [ maintainers.das-g ];
maintainers = with maintainers; teams.geospatial.members ++ [ das-g ];
platforms = platforms.linux;
mainProgram = "ili2c";
};

View File

@ -72,6 +72,6 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://osm2pgsql.org";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ jglukasik das-g ];
maintainers = with maintainers; teams.geospatial.members ++ [ jglukasik das-g ];
};
})

View File

@ -12,7 +12,7 @@
let
pname = "ockam";
version = "0.116.0";
version = "0.117.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
@ -21,10 +21,10 @@ rustPlatform.buildRustPackage {
owner = "build-trust";
repo = pname;
rev = "ockam_v${version}";
sha256 = "sha256-dcSH/mO3cUamjOCuvEB/C24n7K5T1KnUMvTn8fVu+YM=";
sha256 = "sha256-iQ/bhrYJvvSevZGx4n1gTyfG/NvvWoQAHs6fcTT+vUc=";
};
cargoHash = "sha256-9UwPPOKg+Im+vfQFiYKS68tONYkKz1TqX7ukbtmLcRk=";
cargoHash = "sha256-WXRRZWQqgfw7priZrt+avMs2FHs4EcKwlkg5XK8hjoY=";
nativeBuildInputs = [ git pkg-config ];
buildInputs = [ openssl dbus ]
++ lib.optionals stdenv.isDarwin [ Security ];

View File

@ -53,5 +53,6 @@ stdenv.mkDerivation rec {
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
mainProgram = "uget-gtk";
};
}

View File

@ -7,16 +7,16 @@
buildGoModule rec {
pname = "trufflehog";
version = "3.67.6";
version = "3.67.7";
src = fetchFromGitHub {
owner = "trufflesecurity";
repo = "trufflehog";
rev = "refs/tags/v${version}";
hash = "sha256-LKnFlgMbgp47mNkER+gE4PwEpqBY1txmhDpmcPCXH24=";
hash = "sha256-EgAZVFWhAmC24kDYIsvyHcjT7DbmQ3PRO9dSAT3ZdXU=";
};
vendorHash = "sha256-/DKly5ZFrySYrjGywjsyQd5Ky1bQ+ZIJll0io6XC5+s=";
vendorHash = "sha256-KkP8NY35Uo0RM14VSGqAJ3yhw8dXDi5JDPpkBYPmpfQ=";
ldflags = [
"-s"

View File

@ -4972,8 +4972,6 @@ with pkgs;
dapr-cli = callPackage ../development/tools/dapr/cli { };
das = callPackage ../tools/security/das { };
dasel = callPackage ../applications/misc/dasel { };
dasher = callPackage ../applications/accessibility/dasher { };
@ -23680,8 +23678,6 @@ with pkgs;
libwacom-surface = callPackage ../development/libraries/libwacom/surface.nix { };
lightning = callPackage ../development/libraries/lightning { };
lightlocker = callPackage ../misc/screensavers/light-locker { };
lightspark = callPackage ../misc/lightspark { };

View File

@ -10255,6 +10255,8 @@ self: super: with self; {
pybravia = callPackage ../development/python-modules/pybravia { };
pybrowsers = callPackage ../development/python-modules/pybrowsers { };
pybrowserid = callPackage ../development/python-modules/pybrowserid { };
pybtex = callPackage ../development/python-modules/pybtex { };
@ -12372,6 +12374,8 @@ self: super: with self; {
qcs-api-client = callPackage ../development/python-modules/qcs-api-client { };
qcs-sdk-python = callPackage ../development/python-modules/qcs-sdk-python { };
qdarkstyle = callPackage ../development/python-modules/qdarkstyle { };
qdldl = callPackage ../development/python-modules/qdldl { };
@ -12483,6 +12487,8 @@ self: super: with self; {
queuelib = callPackage ../development/python-modules/queuelib { };
quil = callPackage ../development/python-modules/quil { };
qutip = callPackage ../development/python-modules/qutip { };
qmk-dotty-dict = callPackage ../development/python-modules/qmk-dotty-dict { };
@ -16248,6 +16254,8 @@ self: super: with self; {
webdavclient3 = callPackage ../development/python-modules/webdavclient3 { };
webdriver-manager = callPackage ../development/python-modules/webdriver-manager { };
webencodings = callPackage ../development/python-modules/webencodings { };
webexteamssdk = callPackage ../development/python-modules/webexteamssdk { };
@ -16320,6 +16328,8 @@ self: super: with self; {
whois-api = callPackage ../development/python-modules/whois-api { };
whoisdomain = callPackage ../development/python-modules/whoisdomain { };
whoosh = callPackage ../development/python-modules/whoosh { };
widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { };