mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Merge pull request #232672 from fabaff/bitstring-bump
python311Packages.bitstring: 4.0.1 -> 4.0.2
This commit is contained in:
commit
8cac8760e3
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitstring";
|
||||
version = "4.0.1";
|
||||
version = "4.0.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "scott-griffiths";
|
||||
repo = pname;
|
||||
rev = "bitstring-${version}";
|
||||
hash = "sha256-eHP20F9PRe9ZNXjcDcsI3iFVswA6KtRWhBMAT7dkCv0=";
|
||||
hash = "sha256-LghfDjf/Z1dEU0gjH1cqMb04ChnW+aGDjmN+RAhMWW8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1,25 +1,26 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
{ lib
|
||||
, stdenv
|
||||
, apscheduler
|
||||
, bitstring
|
||||
, buildPythonPackage
|
||||
, cffi
|
||||
, ecdsa
|
||||
, fetchFromGitHub
|
||||
, monero
|
||||
, poetry-core
|
||||
, pypng
|
||||
, pyqrcode
|
||||
, pyramid
|
||||
, pyramid_jinja2
|
||||
, pysocks
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, requests
|
||||
, tzlocal
|
||||
, waitress
|
||||
, yoyo-migrations
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, webtest
|
||||
, yoyo-migrations
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -27,6 +28,8 @@ buildPythonPackage rec {
|
||||
version = "1.0.16";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CypherpunkPay";
|
||||
repo = "CypherpunkPay";
|
||||
@ -34,17 +37,18 @@ buildPythonPackage rec {
|
||||
hash = "sha256-X0DB0PVwR0gRnt3jixFzglWAOPKBMvqTOG6pK6OJ03w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "bitstring = '^3.1.9'" "bitstring = '>=3.1.9'" \
|
||||
--replace 'cffi = "1.15.0"' 'cffi = ">=1.15.0"' \
|
||||
--replace 'ecdsa = "^0.17.0"' 'ecdsa = ">=0.17.0"' \
|
||||
--replace 'pypng = "^0.0.20"' 'pypng = ">=0.0.20"' \
|
||||
--replace 'tzlocal = "2.1"' 'tzlocal = ">=2.1"'
|
||||
'';
|
||||
pythonRelaxDeps = [
|
||||
"bitstring"
|
||||
"cffi"
|
||||
"ecdsa"
|
||||
"pypng"
|
||||
"tzlocal"
|
||||
"yoyo-migrations"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -66,10 +70,14 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
webtest
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
"ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# performance test
|
||||
"tests/unit/tools/pbkdf2_test.py"
|
||||
@ -94,9 +102,14 @@ buildPythonPackage rec {
|
||||
"tests/acceptance/views_dummystore"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cypherpunkpay"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern self-hosted software for accepting Bitcoin";
|
||||
homepage = "https://cypherpunkpay.org";
|
||||
homepage = "https://github.com/CypherpunkPay/CypherpunkPay";
|
||||
changelog = "https://github.com/CypherpunkPay/CypherpunkPay/releases/tag/v${version}";
|
||||
license = with licenses; [ mit /* or */ unlicense ];
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user