mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
Merge pull request #202900 from SuperSandro2000/python310Packages.structlog
This commit is contained in:
commit
bc28c7cd73
@ -6,6 +6,9 @@
|
||||
, pytest-asyncio
|
||||
, pretend
|
||||
, freezegun
|
||||
, hatch-fancy-pypi-readme
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, simplejson
|
||||
, typing-extensions
|
||||
, pythonAtLeast
|
||||
@ -13,16 +16,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "structlog";
|
||||
version = "22.1.0";
|
||||
format = "flit";
|
||||
version = "22.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hynek";
|
||||
repo = "structlog";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-2sdH6iP+l+6pBNC+sjpAX8bCdCANqqkaqZRmR68uwxY=";
|
||||
sha256 = "sha256-+r+M+uTXdNBWQf0TGQuZgsCXg2CBKwH8ZE2+uAe0Dzg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatch-fancy-pypi-readme
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||
typing-extensions
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user