mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge pull request #274521 from pbsds/bump-pdoc-1702667116
python3Packages.pdoc: 14.1.0 -> 14.2.0
This commit is contained in:
commit
61575afc7f
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rustPlatform
|
||||
, cargo
|
||||
, rustc
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pdoc-pyo3-sample-library";
|
||||
version = "1.0.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pdoc_pyo3_sample_library";
|
||||
inherit version;
|
||||
hash = "sha256-ZGMo7WgymkSDQu8tc4rTfWNsIWO0AlDPG0OzpKRq3oA=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit pname version src;
|
||||
hash = "sha256-KrEBr998AV/bKcIoq0tX72/QwPD9bQplrS0Zw+JiSMQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
cargo
|
||||
rustc
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pdoc_pyo3_sample_library" ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A sample PyO3 library used in pdoc tests";
|
||||
homepage = "https://github.com/mitmproxy/pdoc-pyo3-sample-library";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.pbsds ];
|
||||
};
|
||||
}
|
@ -4,6 +4,7 @@
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, jinja2
|
||||
, pdoc-pyo3-sample-library
|
||||
, pygments
|
||||
, markupsafe
|
||||
, astunparse
|
||||
@ -13,16 +14,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pdoc";
|
||||
version = "14.1.0";
|
||||
version = "14.2.0";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mitmproxy";
|
||||
repo = "pdoc";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-LQXhdzocw01URrmpDayK9rpsArvM/E44AE8Eok9DBwk=";
|
||||
hash = "sha256-Mmmq4jqRQow+1jn5ZDVMtP1uxrYgHJK/IQrwFWNw8ag=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -38,6 +39,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
hypothesis
|
||||
pdoc-pyo3-sample-library
|
||||
];
|
||||
disabledTestPaths = [
|
||||
# "test_snapshots" tries to match generated output against stored snapshots,
|
||||
|
@ -9097,6 +9097,8 @@ self: super: with self; {
|
||||
|
||||
pdoc = callPackage ../development/python-modules/pdoc { };
|
||||
|
||||
pdoc-pyo3-sample-library = callPackage ../development/python-modules/pdoc-pyo3-sample-library { };
|
||||
|
||||
pdoc3 = callPackage ../development/python-modules/pdoc3 { };
|
||||
|
||||
peaqevcore = callPackage ../development/python-modules/peaqevcore { };
|
||||
|
Loading…
Reference in New Issue
Block a user