python3Packages.pysunspec2: init at 1.2.1
This commit is contained in:
45
pkgs/development/python-modules/pysunspec2/default.nix
Normal file
45
pkgs/development/python-modules/pysunspec2/default.nix
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
pythonOlder,
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildPythonPackage,
|
||||||
|
pytestCheckHook,
|
||||||
|
setuptools,
|
||||||
|
pyserial,
|
||||||
|
openpyxl,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pysunspec2";
|
||||||
|
version = "1.2.1";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sunspec";
|
||||||
|
repo = "pysunspec2";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-N3Daa1l2uzRbj2GpgdulzNhqxtRLvxZuEHxlKMsAdso=";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
openpyxl
|
||||||
|
pyserial
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "sunspec2" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python library for interfacing with SunSpec devices";
|
||||||
|
homepage = "https://github.com/sunspec/pysunspec2";
|
||||||
|
changelog = "https://github.com/sunspec/pysunspec2/releases/tag/${src.tag}";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ lib.maintainers.cheriimoya ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -13434,6 +13434,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
pysuezv2 = callPackage ../development/python-modules/pysuezv2 { };
|
pysuezv2 = callPackage ../development/python-modules/pysuezv2 { };
|
||||||
|
|
||||||
|
pysunspec2 = callPackage ../development/python-modules/pysunspec2 { };
|
||||||
|
|
||||||
pysvg-py3 = callPackage ../development/python-modules/pysvg-py3 { };
|
pysvg-py3 = callPackage ../development/python-modules/pysvg-py3 { };
|
||||||
|
|
||||||
pysvn = callPackage ../development/python-modules/pysvn {
|
pysvn = callPackage ../development/python-modules/pysvn {
|
||||||
|
|||||||
Reference in New Issue
Block a user