mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
Merge pull request #232729 from fabaff/pysml-bump
python311Packages.pysml: 0.0.11 -> 0.0.12
This commit is contained in:
commit
dc2df96054
@ -5,18 +5,21 @@
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pyserial-asyncio
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysml";
|
||||
version = "0.0.11";
|
||||
version = "0.0.12";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mtdcr";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-RPDYh5h885/FiU2vsDpCGd8yWXNNIEpjAu6w8QXTxAA=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-DgfTSlgDC92l/hOgrMZrkZi1wzRUDY8tNl4xU3OQgJ8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -32,7 +35,9 @@ buildPythonPackage rec {
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "sml" ];
|
||||
pythonImportsCheck = [
|
||||
"sml"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for EDL21 smart meters using Smart Message Language (SML)";
|
||||
|
Loading…
Reference in New Issue
Block a user