python310Packages.ua-parser: 0.10.0 -> 0.15.0

This commit is contained in:
Robert Schütz 2022-06-28 21:32:40 +00:00 committed by Robert Schütz
parent 455268ad70
commit 2f37856d4a

View File

@ -7,7 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ua-parser"; pname = "ua-parser";
version = "0.10.0"; version = "0.15.0";
format = "setuptools"; format = "setuptools";
@ -16,13 +16,18 @@ buildPythonPackage rec {
repo = "uap-python"; repo = "uap-python";
rev = version; rev = version;
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-kaTAfUtHj2vH7i7eIU61efuB4/XVHoc/z6o3ny+sgrQ="; hash = "sha256-CwwVaToy5se5dZ4m1EHn8qgvprK82/Sgpos4lHedIUc=";
}; };
patches = [ patches = [
./dont-fetch-submodule.patch ./dont-fetch-submodule.patch
]; ];
postPatch = ''
substituteInPlace setup.py \
--replace "pyyaml ~= 5.4.0" pyyaml
'';
nativeBuildInputs = [ nativeBuildInputs = [
pyyaml pyyaml
]; ];