mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 21:04:30 +00:00
Merge pull request #213174 from fabaff/huum-bump
python3Packages.huum: 0.6.0 -> 0.7.1
This commit is contained in:
commit
2f10f71df0
@ -1,22 +1,26 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "huum";
|
||||
version = "0.6.0";
|
||||
version = "0.7.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-PYOjfLPa/vZZP0IZuUZnQ74IrTRvizgYhKOmhd83aMQ=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "frwickst";
|
||||
repo = "pyhuum";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vYHwcEOzxYEBav5YbmWpm+izFlivzu2UIR6hmAXXi0U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -28,17 +32,19 @@ buildPythonPackage rec {
|
||||
pydantic
|
||||
];
|
||||
|
||||
# Tests are not shipped and source not tagged
|
||||
# https://github.com/frwickst/pyhuum/issues/2
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"huum"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for for Huum saunas";
|
||||
description = "Library for Huum saunas";
|
||||
homepage = "https://github.com/frwickst/pyhuum";
|
||||
changelog = "https://github.com/frwickst/pyhuum/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user