python310Packages.ua-parser: 0.15.0 -> 0.16.1
This commit is contained in:
committed by
Robert Schütz
parent
a0bf7e251c
commit
2c09426bcb
@@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ua-parser";
|
||||
version = "0.15.0";
|
||||
version = "0.16.1";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
@@ -16,26 +16,17 @@ buildPythonPackage rec {
|
||||
repo = "uap-python";
|
||||
rev = version;
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-TtOj1ZL8+4T95AgF9ErvI+0W35WQ23snFhCyCbuRjxM=";
|
||||
hash = "sha256-vyzeRi/wYEyezSU+EigJATgrNvABGCWVWlSFhKGipLE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./dont-fetch-submodule.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pyyaml ~= 5.4.0" pyyaml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pyyaml
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
mkdir -p build/lib/ua_parser
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user