mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-14 16:14:50 +00:00
Merge pull request #314015 from fabaff/pyecowitt-refactor
python312Packages.pyecowitt: refactor
This commit is contained in:
commit
f1fcf7cdc9
@ -4,23 +4,26 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyecowitt";
|
||||
version = "0.21";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "garbled1";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "5VdVo6j2HZXSCWU4NvfWzyS/KJfVb7N1KSMeu8TvWaQ=";
|
||||
repo = "pyecowitt";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-5VdVo6j2HZXSCWU4NvfWzyS/KJfVb7N1KSMeu8TvWaQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ aiohttp ];
|
||||
|
||||
# Project thas no tests
|
||||
doCheck = false;
|
||||
@ -30,7 +33,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module for the EcoWitt Protocol";
|
||||
homepage = "https://github.com/garbled1/pyecowitt";
|
||||
license = with licenses; [ asl20 ];
|
||||
changelog = "https://github.com/garbled1/pyecowitt/releases/tag/${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user