ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pysml / default.nix
blob3ff7bee167cb7d7885d9962f443c3edbf7063a6d
1 { lib
2 , async-timeout
3 , bitstring
4 , buildPythonPackage
5 , fetchFromGitHub
6 , poetry-core
7 , pyserial-asyncio
8 }:
10 buildPythonPackage rec {
11   pname = "pysml";
12   version = "0.0.8";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "mtdcr";
17     repo = pname;
18     rev = version;
19     sha256 = "sha256-Qw2irvj94cBquYeVUhqOq8lw85oP5TqtA2XTT2z5/as=";
20   };
22   nativeBuildInputs = [
23     poetry-core
24   ];
26   propagatedBuildInputs = [
27     async-timeout
28     bitstring
29     pyserial-asyncio
30   ];
32   # Project has no tests
33   doCheck = false;
35   pythonImportsCheck = [ "sml" ];
37   meta = with lib; {
38     description = "Python library for EDL21 smart meters using Smart Message Language (SML)";
39     homepage = "https://github.com/mtdcr/pysml";
40     license = with licenses; [ mit ];
41     maintainers = with maintainers; [ fab ];
42   };