Merge master into staging-next
This commit is contained in:
@@ -14,13 +14,13 @@
|
||||
let
|
||||
package = buildGoModule rec {
|
||||
pname = "opentofu";
|
||||
version = "1.8.0";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "opentofu";
|
||||
repo = "opentofu";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-c12CkfJyA5NjsOm/85QS41RfpBRW4pDX/vH6lk+d+9M=";
|
||||
hash = "sha256-mMp3X2jXBQi/lRbqdiBa1UMYPKXl4jEvTHXxbPji5D8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-cM2DSP2ss3vleUhPBIdyxKeWJxtHpdjL5b5HVS/iC6o=";
|
||||
|
||||
@@ -60,8 +60,8 @@ in rec {
|
||||
};
|
||||
|
||||
thunderbird-128 = common {
|
||||
version = "128.0.1esr";
|
||||
sha512 = "db7507fcfd5bc2dd4ad52eaeb87c575d87cb438765861c468ab17678ca6ab32b28b60d0431ec7f558ea0db90fa59e35a8a4aeba046ebd0b00cfb6d9e8019318e";
|
||||
version = "128.1.0esr";
|
||||
sha512 = "cda64afee45ae20a627116f9475cc4421262db40a7efa09eeafcb6e96f8fad97e8c96e2ecf04466ac4bce99fcebe0c3ce9953fa3fc4f5a92ab6f60e122f58c9a";
|
||||
|
||||
updateScript = callPackage ./update.nix {
|
||||
attrPath = "thunderbirdPackages.thunderbird-128";
|
||||
|
||||
@@ -1,34 +1,82 @@
|
||||
{ lib, stdenv, libXcomposite, libgnome-keyring, makeWrapper, udev, curlWithGnuTls, alsa-lib
|
||||
, libXfixes, atk, gtk3, libXrender, pango, adwaita-icon-theme, cairo, freetype, fontconfig
|
||||
, libX11, libXi, libxcb, libXext, libXcursor, glib, libXScrnSaver, libxkbfile, libXtst
|
||||
, nss, nspr, cups, fetchzip, expat, gdk-pixbuf, libXdamage, libXrandr, dbus
|
||||
, makeDesktopItem, openssl, wrapGAppsHook3, makeShellWrapper, at-spi2-atk, at-spi2-core, libuuid
|
||||
, e2fsprogs, krb5, libdrm, mesa, unzip, copyDesktopItems, libxshmfence, libxkbcommon, git
|
||||
, libGL, zlib, cacert
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
libXcomposite,
|
||||
libgnome-keyring,
|
||||
makeWrapper,
|
||||
udev,
|
||||
curlWithGnuTls,
|
||||
alsa-lib,
|
||||
libXfixes,
|
||||
atk,
|
||||
gtk3,
|
||||
libXrender,
|
||||
pango,
|
||||
adwaita-icon-theme,
|
||||
cairo,
|
||||
freetype,
|
||||
fontconfig,
|
||||
libX11,
|
||||
libXi,
|
||||
libxcb,
|
||||
libXext,
|
||||
libXcursor,
|
||||
glib,
|
||||
libXScrnSaver,
|
||||
libxkbfile,
|
||||
libXtst,
|
||||
nss,
|
||||
nspr,
|
||||
cups,
|
||||
fetchzip,
|
||||
expat,
|
||||
gdk-pixbuf,
|
||||
libXdamage,
|
||||
libXrandr,
|
||||
dbus,
|
||||
makeDesktopItem,
|
||||
openssl,
|
||||
wrapGAppsHook3,
|
||||
makeShellWrapper,
|
||||
at-spi2-atk,
|
||||
at-spi2-core,
|
||||
libuuid,
|
||||
e2fsprogs,
|
||||
krb5,
|
||||
libdrm,
|
||||
mesa,
|
||||
unzip,
|
||||
copyDesktopItems,
|
||||
libxshmfence,
|
||||
libxkbcommon,
|
||||
git,
|
||||
libGL,
|
||||
zlib,
|
||||
cacert,
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
pname = "gitkraken";
|
||||
version = "10.1.1";
|
||||
version = "10.2.0";
|
||||
|
||||
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
|
||||
srcs = {
|
||||
x86_64-linux = fetchzip {
|
||||
url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz";
|
||||
hash = "sha256-+Bm6zEw9Q4FFgoXuSSQ9IFVVbyIenN5UN6VChqvESQI=";
|
||||
hash = "sha256-NY7IgUt6Q27Pz1K46xL4LYFBwTJdT+fvsFDM2OhoPWg=";
|
||||
};
|
||||
|
||||
x86_64-darwin = fetchzip {
|
||||
url = "https://release.axocdn.com/darwin/GitKraken-v${version}.zip";
|
||||
hash = "sha256-6UjGiStMRr9fsNfJGMlhawR7PccMA9l9osAL4d/6ehc=";
|
||||
hash = "sha256-e7zIMJNMdFy7/8zsV3nH1OT76xNznoSPRUVhoLfR6QI=";
|
||||
};
|
||||
|
||||
aarch64-darwin = fetchzip {
|
||||
url = "https://release.axocdn.com/darwin-arm64/GitKraken-v${version}.zip";
|
||||
hash = "sha256-FwI0GmarKneOuDyTgwOH1xSMy1wT/sbQ0XA3nUYqFmQ=";
|
||||
hash = "sha256-YjGH9tKbJaYc5qENBCCpJGWWFJIQTD8O2H3onhMwGrw=";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -40,12 +88,22 @@ let
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfree;
|
||||
platforms = builtins.attrNames srcs;
|
||||
maintainers = with maintainers; [ xnwdd evanjs arkivm nicolas-goudry ];
|
||||
maintainers = with maintainers; [
|
||||
xnwdd
|
||||
evanjs
|
||||
arkivm
|
||||
nicolas-goudry
|
||||
];
|
||||
mainProgram = "gitkraken";
|
||||
};
|
||||
|
||||
linux = stdenv.mkDerivation rec {
|
||||
inherit pname version src meta;
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
src
|
||||
meta
|
||||
;
|
||||
|
||||
dontBuild = true;
|
||||
dontConfigure = true;
|
||||
@@ -96,18 +154,26 @@ let
|
||||
zlib
|
||||
];
|
||||
|
||||
desktopItems = [ (makeDesktopItem {
|
||||
name = "GitKraken Desktop";
|
||||
exec = "gitkraken";
|
||||
icon = "gitkraken";
|
||||
desktopName = "GitKraken Desktop";
|
||||
genericName = "Git Client";
|
||||
categories = [ "Development" ];
|
||||
comment = "Unleash your repo";
|
||||
}) ];
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "GitKraken Desktop";
|
||||
exec = "gitkraken";
|
||||
icon = "gitkraken";
|
||||
desktopName = "GitKraken Desktop";
|
||||
genericName = "Git Client";
|
||||
categories = [ "Development" ];
|
||||
comment = "Unleash your repo";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ copyDesktopItems (wrapGAppsHook3.override { makeWrapper = makeShellWrapper; }) ];
|
||||
buildInputs = [ gtk3 adwaita-icon-theme ];
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
(wrapGAppsHook3.override { makeWrapper = makeShellWrapper; })
|
||||
];
|
||||
buildInputs = [
|
||||
gtk3
|
||||
adwaita-icon-theme
|
||||
];
|
||||
|
||||
# avoid double-wrapping
|
||||
dontWrapGApps = true;
|
||||
@@ -159,9 +225,17 @@ let
|
||||
};
|
||||
|
||||
darwin = stdenv.mkDerivation {
|
||||
inherit pname version src meta;
|
||||
inherit
|
||||
pname
|
||||
version
|
||||
src
|
||||
meta
|
||||
;
|
||||
|
||||
nativeBuildInputs = [ unzip makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
unzip
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@@ -177,6 +251,4 @@ let
|
||||
dontFixup = true;
|
||||
};
|
||||
in
|
||||
if stdenv.isDarwin
|
||||
then darwin
|
||||
else linux
|
||||
if stdenv.isDarwin then darwin else linux
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"owner": "advplyr",
|
||||
"repo": "audiobookshelf",
|
||||
"rev": "93114b2181d1ee5f0026fcf04c0a2946e3e96641",
|
||||
"hash": "sha256-WrXbckMCysHgCl+ji0vCYoGu2DcjRf9wfSxzPYu7uZ8=",
|
||||
"version": "2.11.0",
|
||||
"depsHash": "sha256-B9ADqBGFfgNvWUgm6P+Tpg3N/tyBmeL5pyYXFTiBYpc=",
|
||||
"clientDepsHash": "sha256-EvTUvynnukEzgC/y8v7BHj3oV5U9SeLjF+lAueS36D0="
|
||||
"rev": "e81b3461b2b6374d2868fd415a7bbb899bd2f837",
|
||||
"hash": "sha256-q3XDEi5DNvXxgcLYm4vI3my3wHPAjHMmEO1eiYD38Pw=",
|
||||
"version": "2.12.2",
|
||||
"depsHash": "sha256-XUKqkrh+RzTmPckh2YAcdu5sfO7HRw1fuYOlPeePZ7w=",
|
||||
"clientDepsHash": "sha256-A5cnzb+/ImpCb/pPTZN+puf3FDKkD+dB+T6KLJcbx5w="
|
||||
}
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "binary";
|
||||
version = "0.3.1";
|
||||
version = "4.0";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fizzyizzy05";
|
||||
repo = "binary";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-4Ep7d5grMXCCy9tL8wquJsx13jVIp+piDPeJh6mYFpI=";
|
||||
hash = "sha256-sIW20yHNPBeGSV9Rx7GMpuWpSkVgk5YMJoeYEq7Ag6s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "collector";
|
||||
version = "1.0.1";
|
||||
version = "0-unstable-2024-08-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mijorus";
|
||||
repo = "collector";
|
||||
rev = "d98a11c65c7de054cb894aeb4b5e963aeb83c0d8";
|
||||
hash = "sha256-un+PvLAHfosX9jWExepWDbDKev7D9TAu+XfOFm7xOyA=";
|
||||
rev = "7c83ef15ec6189005e63a036f00699adf1cb7132";
|
||||
hash = "sha256-WTNisQuwtyjZ73cVPhuCQkf7FkpAvNx3BrxjpzKc1/s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "dotenvx";
|
||||
version = "1.6.4";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dotenvx";
|
||||
repo = "dotenvx";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-A7RojzdBwJ06JHBAoxVmOi9cAxoeGTwAK08jmST7pls=";
|
||||
hash = "sha256-AEgf46LCqQCKdq7yEvvumtVVZltPUn8ktLuFiLJar3g=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-KToJAeWsCeJ2GO/k5UuOa/7oOYjNsS0kMt0o+yDyppM=";
|
||||
npmDepsHash = "sha256-TdMGkw5/aP9Ki65Ik7286fH5FD5VAfFgATul9ZOHWxA=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
|
||||
+30
-14
@@ -1,20 +1,29 @@
|
||||
{ fetchurl, lib, stdenv }:
|
||||
{
|
||||
fetchurl,
|
||||
lib,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.7.0";
|
||||
version = "1.8.0";
|
||||
# nixpkgs-update: no auto update
|
||||
|
||||
suffix = {
|
||||
x86_64-linux = "x86_64";
|
||||
aarch64-linux = "aarch64";
|
||||
}."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
suffix =
|
||||
{
|
||||
x86_64-linux = "x86_64";
|
||||
aarch64-linux = "aarch64";
|
||||
}
|
||||
."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
baseurl = "https://github.com/firecracker-microvm/firecracker/releases/download";
|
||||
|
||||
dlbin = sha256: fetchurl {
|
||||
url = "${baseurl}/v${version}/firecracker-v${version}-${suffix}.tgz";
|
||||
sha256 = sha256."${stdenv.hostPlatform.system}"or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
dlbin =
|
||||
hash:
|
||||
fetchurl {
|
||||
url = "${baseurl}/v${version}/firecracker-v${version}-${suffix}.tgz";
|
||||
hash =
|
||||
hash."${stdenv.hostPlatform.system}" or (throw "unsupported system ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
@@ -23,8 +32,8 @@ stdenv.mkDerivation {
|
||||
|
||||
sourceRoot = ".";
|
||||
src = dlbin {
|
||||
x86_64-linux = "sha256-Vb0+bVmf3RCONuUvmu4jGfBsGKkPL6SbZOk/3wb1/1M=";
|
||||
aarch64-linux = "sha256-PLoQA4a6qulxSns/ZRSgn6EtHr46/hstNhP1pAHt9VA=";
|
||||
x86_64-linux = "sha256-vImb2u+NCqew+vv0miv2R+AphVj0+u5Elw2HocbRri0=";
|
||||
aarch64-linux = "sha256-ZLSc61MWfXYWv0/Sxz3vaWoyAlnqbgfPFEfJCRxfknE=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
@@ -53,7 +62,14 @@ stdenv.mkDerivation {
|
||||
changelog = "https://github.com/firecracker-microvm/firecracker/releases/tag/v${version}";
|
||||
mainProgram = "firecracker";
|
||||
license = licenses.asl20;
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||
maintainers = with maintainers; [ thoughtpolice qjoly ];
|
||||
platforms = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
maintainers = with maintainers; [
|
||||
thoughtpolice
|
||||
qjoly
|
||||
techknowlogick
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gowall";
|
||||
version = "0.1.5";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Achno";
|
||||
repo = "gowall";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4h7vRu1aqCGccKx2UiLSFNloqf22QUml4BHkKzzdwYA=";
|
||||
hash = "sha256-BNksshg1yK3mQuBaC4S3HzwfJ8vW0XxfDkG7YJAF00E=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-jNx4ehew+IBx7M6ey/rT0vb53+9OBVYSEDJv8JWfZIw=";
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sophus";
|
||||
version = "1.22.10";
|
||||
version = "1.24.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "strasdat";
|
||||
repo = "Sophus";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-TNuUoL9r1s+kGE4tCOGFGTDv1sLaHJDUKa6c9x41Z7w=";
|
||||
hash = "sha256-k5t3kSUrH6B1f60dtqq3Ai4R4D2h+Ld+6Cpljl/AN0w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -3,53 +3,56 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
mock,
|
||||
nose,
|
||||
plotly,
|
||||
pytest,
|
||||
requests,
|
||||
retrying,
|
||||
setuptools,
|
||||
six,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chart-studio";
|
||||
version = "5.23.0";
|
||||
version = "1.1.0-unstable-2024-07-23";
|
||||
pyproject = true;
|
||||
|
||||
# chart-studio was split from plotly
|
||||
src = fetchFromGitHub {
|
||||
owner = "plotly";
|
||||
repo = "plotly.py";
|
||||
rev = "refs/tags/v${version}";
|
||||
# We use plotly's upstream version as it's the same repo, but chart studio has its own version number.
|
||||
rev = "v5.23.0";
|
||||
hash = "sha256-K1hEs00AGBCe2fgytyPNWqE5M0jU5ESTzynP55kc05Y=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/packages/python/chart-studio";
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
plotly
|
||||
requests
|
||||
retrying
|
||||
six
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
nose
|
||||
pytest
|
||||
pytestCheckHook
|
||||
];
|
||||
# most tests talk to a service
|
||||
checkPhase = ''
|
||||
HOME=$TMPDIR pytest chart_studio/tests/test_core chart_studio/tests/test_plot_ly/test_api
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
# most tests talk to a network service, so only run ones that don't do that.
|
||||
pytestFlagsArray = [
|
||||
"chart_studio/tests/test_core"
|
||||
"chart_studio/tests/test_plot_ly/test_api"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Utilities for interfacing with Plotly's Chart Studio service";
|
||||
homepage = "https://github.com/plotly/plotly.py/tree/master/packages/python/chart-studio";
|
||||
license = with licenses; [ mit ];
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
requests,
|
||||
typing-extensions,
|
||||
pandas,
|
||||
tqdm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cmsdials";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cms-DQM";
|
||||
repo = "dials-py";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-664FvPdZFU5eTcMadnHfs0ZeiKqTH+Gy2bnhIFQxU2o=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
requests
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
pandas = [ pandas ];
|
||||
tqdm = [ tqdm ];
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
# pydantic = "<2, >=1"pydantic = "<2, >=1"
|
||||
"pydantic"
|
||||
# typing-extensions = "<4.6.0, >=3.6.6"
|
||||
"typing-extensions"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "cmsdials" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API client interface to CMS DIALS service";
|
||||
homepage = "https://github.com/cms-DQM/dials-py";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ ShamrockLee ];
|
||||
};
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cohere";
|
||||
version = "5.7.0";
|
||||
version = "5.8.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
owner = "cohere-ai";
|
||||
repo = "cohere-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-j8X+DLE6DOxaKoZC1J8eAWZUr3XsfY6RZMKrmJqQ6dw=";
|
||||
hash = "sha256-ejqsiT0hDBusqOjDGaK6Wda3xr3iyZuQPFj0EDugcew=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
flask,
|
||||
fetchpatch2,
|
||||
mock,
|
||||
nose,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
@@ -51,7 +50,6 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
blinker
|
||||
mock
|
||||
nose
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
||||
@@ -1,65 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
betamax,
|
||||
buildPythonPackage,
|
||||
cachetools,
|
||||
coloredlogs,
|
||||
emoji,
|
||||
fetchPypi,
|
||||
nose,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "locationsharinglib";
|
||||
version = "5.0.3";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ar5/gyDnby0aceqqHe8lTQaHafOub+IPKglmct4xEGM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
postPatch = ''
|
||||
# Tests requirements want to pull in multiple modules which we don't need
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "tests_require=test_requirements" "tests_require=[]"
|
||||
cp .VERSION locationsharinglib/.VERSION
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
coloredlogs
|
||||
requests
|
||||
cachetools
|
||||
pytz
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
betamax
|
||||
emoji
|
||||
nose
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Tests requirements want to pull in multiple modules which we don't need
|
||||
substituteInPlace setup.py \
|
||||
--replace "tests_require=test_requirements" "tests_require=[]"
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "coloredlogs>=15.0.1" "coloredlogs" \
|
||||
--replace "pytz>=2023.3" "pytz"
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
# Only coverage no real unit tests
|
||||
nosetests
|
||||
runHook postCheck
|
||||
'';
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "locationsharinglib" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Python package to retrieve coordinates from a Google account";
|
||||
homepage = "https://locationsharinglib.readthedocs.io/";
|
||||
changelog = "https://github.com/costastf/locationsharinglib/blob/${version}/HISTORY.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
libiconv,
|
||||
numpy,
|
||||
unittestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nutils-poly";
|
||||
version = "1.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nutils";
|
||||
repo = "poly-py";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-dxFv4Az3uz6Du5dk5KZJ+unVbt3aZjxXliAQZhmBWDM=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
name = "${pname}-${version}";
|
||||
inherit src;
|
||||
hash = "sha256-+fnKvlSwM197rsyusFH7rs1W6livxel45UGbi1sB05k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ rustPlatform.cargoSetupHook ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
build-system = [ rustPlatform.maturinBuildHook ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "nutils_poly" ];
|
||||
|
||||
meta = {
|
||||
description = "Low-level functions for evaluating and manipulating polynomials";
|
||||
homepage = "https://github.com/nutils/poly-py";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ tomasajt ];
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,14 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
numpy,
|
||||
treelog,
|
||||
stringly,
|
||||
flit-core,
|
||||
appdirs,
|
||||
bottombar,
|
||||
numpy,
|
||||
nutils-poly,
|
||||
psutil,
|
||||
stringly,
|
||||
treelog,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
@@ -14,9 +17,9 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "nutils";
|
||||
version = "8.7";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evalf";
|
||||
@@ -25,15 +28,20 @@ buildPythonPackage rec {
|
||||
hash = "sha256-wxouS0FXrdIhm6nTVBuzkwHceJnZ7f7k8nMFxFsZchE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
treelog
|
||||
stringly
|
||||
dependencies = [
|
||||
appdirs
|
||||
bottombar
|
||||
numpy
|
||||
nutils-poly
|
||||
psutil
|
||||
stringly
|
||||
treelog
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "psutil" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "nutils" ];
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
hatchling,
|
||||
pandas,
|
||||
pyarrow,
|
||||
python-dateutil,
|
||||
pythonOlder,
|
||||
sqlalchemy,
|
||||
tenacity,
|
||||
@@ -16,26 +17,27 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyathena";
|
||||
version = "3.8.3";
|
||||
version = "3.9.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-mcYIYOgww4UM0CAcdtOD12pp53clPdDqN85bLRHGDag=";
|
||||
hash = "sha256-SxHUnfAyVcVW4R9j0ONGzCXqGWdaeseP/QU3vNhMtI8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
boto3
|
||||
botocore
|
||||
fsspec
|
||||
tenacity
|
||||
python-dateutil
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
optional-dependencies = {
|
||||
pandas = [ pandas ];
|
||||
sqlalchemy = [ sqlalchemy ];
|
||||
arrow = [ pyarrow ];
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
nose,
|
||||
pyparsing,
|
||||
decorator,
|
||||
six,
|
||||
future,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycontracts";
|
||||
version = "1.8.14";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyContracts";
|
||||
inherit version;
|
||||
sha256 = "03q5m595ysjrc9h57m7prrca6b9l4yrzvdijnzxnhd61p7jzbh49";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
propagatedBuildInputs = [
|
||||
pyparsing
|
||||
decorator
|
||||
six
|
||||
future
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows to declare constraints on function parameters and return values";
|
||||
homepage = "https://pypi.python.org/pypi/PyContracts";
|
||||
license = licenses.lgpl2;
|
||||
};
|
||||
}
|
||||
@@ -4,7 +4,6 @@
|
||||
fetchurl,
|
||||
buildPythonPackage,
|
||||
isPy3k,
|
||||
pythonAtLeast,
|
||||
astor,
|
||||
gast,
|
||||
google-pasta,
|
||||
@@ -18,6 +17,7 @@
|
||||
grpcio,
|
||||
mock,
|
||||
scipy,
|
||||
distutils,
|
||||
wheel,
|
||||
jax,
|
||||
opt-einsum,
|
||||
@@ -90,7 +90,10 @@ buildPythonPackage {
|
||||
h5py
|
||||
] ++ lib.optional (!isPy3k) mock;
|
||||
|
||||
build-system = [ wheel ] ++ lib.optionals cudaSupport [ addDriverRunpath ];
|
||||
build-system = [
|
||||
distutils
|
||||
wheel
|
||||
] ++ lib.optionals cudaSupport [ addDriverRunpath ];
|
||||
|
||||
preConfigure = ''
|
||||
unset SOURCE_DATE_EPOCH
|
||||
@@ -217,9 +220,5 @@ buildPythonPackage {
|
||||
abbradar
|
||||
];
|
||||
badPlatforms = [ "x86_64-darwin" ];
|
||||
# Cannot import tensortfow on python 3.12 as it still dependends on distutils:
|
||||
# ModuleNotFoundError: No module named 'distutils'
|
||||
# https://github.com/tensorflow/tensorflow/issues/58073
|
||||
broken = pythonAtLeast "3.12";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
attrs,
|
||||
pdfminer-six,
|
||||
@@ -16,21 +17,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "typecode";
|
||||
version = "30.0.1";
|
||||
format = "setuptools";
|
||||
version = "30.0.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Glc5QiTVr//euymeNTxGN+FVaOEa6cUxHGyGo9bQrJc=";
|
||||
hash = "sha256-F2idIK8K5hFueX7yxd5l8M6AkSjPDmhHmzS9a6S8OJg=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
attrs
|
||||
pdfminer-six
|
||||
commoncode
|
||||
@@ -48,7 +52,7 @@ buildPythonPackage rec {
|
||||
"TestFileTypesDataDriven"
|
||||
|
||||
# Many of the failures below are reported in:
|
||||
# https://github.com/nexB/typecode/issues/36
|
||||
# https://github.com/aboutcode-org/typecode/issues/36
|
||||
|
||||
# AssertionError: assert 'application/x-bytecode.python'...
|
||||
"test_compiled_python_1"
|
||||
@@ -63,8 +67,8 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Comprehensive filetype and mimetype detection using libmagic and Pygments";
|
||||
homepage = "https://github.com/nexB/typecode";
|
||||
changelog = "https://github.com/nexB/typecode/releases/tag/v${version}";
|
||||
homepage = "https://github.com/aboutcode-org/typecode";
|
||||
changelog = "https://github.com/aboutcode-org/typecode/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dex";
|
||||
version = "0.9.0";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jceb";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
|
||||
sha256 = "sha256-1fgSz4f6W+Dr3mo4vQY8buD2dNC8RBMGrwCTOIzH7rQ=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -5108,8 +5108,6 @@ with pkgs;
|
||||
|
||||
fioctl = callPackage ../tools/admin/fioctl { };
|
||||
|
||||
firecracker = callPackage ../applications/virtualization/firecracker { };
|
||||
|
||||
firectl = callPackage ../applications/virtualization/firectl { };
|
||||
|
||||
firestarter = callPackage ../applications/misc/firestarter { };
|
||||
|
||||
@@ -387,6 +387,7 @@ mapAliases ({
|
||||
pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
|
||||
pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
|
||||
pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
|
||||
pycontracts = throw "pycontracts has been removed, since upstream is no longer active and it is broken on modern Python versions."; # added 2024-08-09
|
||||
pydrive = throw "pydrive is broken and deprecated and has been replaced with pydrive2."; # added 2022-06-01
|
||||
pyjet = throw "pyjet is deprecated, use fastjet instead"; # added 2023-05-10
|
||||
pygame_sdl2 = pygame-sdl2; # added 2024-01-07
|
||||
|
||||
@@ -2375,6 +2375,8 @@ self: super: with self; {
|
||||
inherit (pkgs) cmigemo;
|
||||
};
|
||||
|
||||
cmsdials = callPackage ../development/python-modules/cmsdials { };
|
||||
|
||||
cmsis-pack-manager = callPackage ../development/python-modules/cmsis-pack-manager { };
|
||||
|
||||
cmsis-svd = callPackage ../development/python-modules/cmsis-svd { };
|
||||
@@ -9257,6 +9259,8 @@ self: super: with self; {
|
||||
|
||||
nutils = callPackage ../development/python-modules/nutils { };
|
||||
|
||||
nutils-poly = callPackage ../development/python-modules/nutils-poly { };
|
||||
|
||||
nvchecker = callPackage ../development/python-modules/nvchecker { };
|
||||
|
||||
nvdlib = callPackage ../development/python-modules/nvdlib { };
|
||||
@@ -11149,8 +11153,6 @@ self: super: with self; {
|
||||
|
||||
pycomfoconnect = callPackage ../development/python-modules/pycomfoconnect { };
|
||||
|
||||
pycontracts = callPackage ../development/python-modules/pycontracts { };
|
||||
|
||||
pycosat = callPackage ../development/python-modules/pycosat { };
|
||||
|
||||
pycotap = callPackage ../development/python-modules/pycotap { };
|
||||
|
||||
Reference in New Issue
Block a user