python312Packages.ua-parser-builtins: init at 1.0.0
This commit is contained in:
parent
fc0a7fe9c0
commit
ba4d412beb
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
buildPythonPackage,
|
||||||
|
hatchling,
|
||||||
|
pyyaml,
|
||||||
|
ua-parser,
|
||||||
|
versioningit,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ua-parser-builtins";
|
||||||
|
inherit (ua-parser) version src;
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
sourceRoot = "${src.name}/ua-parser-builtins";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# break dependency cycle and don't use git to determine version
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail 'dependencies = ["ua-parser"]' "" \
|
||||||
|
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||||
|
'';
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
hatchling
|
||||||
|
pyyaml
|
||||||
|
versioningit
|
||||||
|
];
|
||||||
|
}
|
||||||
@ -17239,6 +17239,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
ua-parser = callPackage ../development/python-modules/ua-parser { };
|
ua-parser = callPackage ../development/python-modules/ua-parser { };
|
||||||
|
|
||||||
|
ua-parser-builtins = callPackage ../development/python-modules/ua-parser-builtins { };
|
||||||
|
|
||||||
uarray = callPackage ../development/python-modules/uarray { };
|
uarray = callPackage ../development/python-modules/uarray { };
|
||||||
|
|
||||||
uart-devices = callPackage ../development/python-modules/uart-devices { };
|
uart-devices = callPackage ../development/python-modules/uart-devices { };
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user