mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
python310Packages.ua-parser: 0.10.0 -> 0.15.0
This commit is contained in:
parent
455268ad70
commit
2f37856d4a
@ -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
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user