lol

Merge pull request #254854 from dotlambda/python-rapidjson-1.11

python310Packages.python-rapidjson: 1.10 -> 1.11

authored by

Martin Weinelt and committed by
GitHub
725db349 0addd6b1

+9 -8
+9 -8
pkgs/development/python-modules/python-rapidjson/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , fetchpatch 5 - , fetchPypi 6 5 , pythonOlder 7 6 , rapidjson 8 7 , pytestCheckHook ··· 16 15 src = fetchFromGitHub { 17 16 owner = "Tencent"; 18 17 repo = "rapidjson"; 19 - rev = "083f359f5c36198accc2b9360ce1e32a333231d9"; 20 - hash = "sha256-8O5KwZcvoEkpE+O0Twn2CKHjV2AYh8qnSaBofoWEBs8="; 18 + rev = "5e17dbed34eef33af8f3e734820b5dc547a2a3aa"; 19 + hash = "sha256-CTy42X6P6+Gz4WbJ3tCpAw3qqlJ+mU1PaWW9LGG+6nU="; 21 20 }; 22 21 patches = [ 23 22 (fetchpatch { ··· 30 29 cmakeFlags = old.cmakeFlags ++ [ "-DCMAKE_CTEST_ARGUMENTS=-E;valgrind_unittest" ]; 31 30 }); 32 31 in buildPythonPackage rec { 33 - version = "1.10"; 32 + version = "1.11"; 34 33 pname = "python-rapidjson"; 35 34 disabled = pythonOlder "3.7"; 36 35 37 36 format = "setuptools"; 38 37 39 - src = fetchPypi { 40 - inherit pname version; 41 - hash = "sha256-rP7L9e25HscqIKEl3n9WuML2Fh7/TGU4LI7mokhNNUA="; 38 + src = fetchFromGitHub { 39 + owner = "python-rapidjson"; 40 + repo = "python-rapidjson"; 41 + rev = "refs/tags/v${version}"; 42 + hash = "sha256-Jnnr4MCopx2YJTqbHqSCzPBzUl0T8SqcznRGSI14d2Q="; 42 43 }; 43 44 44 45 setupPyBuildFlags = [ ··· 55 56 ]; 56 57 57 58 meta = with lib; { 58 - changelog = "https://github.com/python-rapidjson/python-rapidjson/blob/v${version}/CHANGES.rst"; 59 + changelog = "https://github.com/python-rapidjson/python-rapidjson/blob/${src.rev}/CHANGES.rst"; 59 60 homepage = "https://github.com/python-rapidjson/python-rapidjson"; 60 61 description = "Python wrapper around rapidjson"; 61 62 license = licenses.mit;