evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / crownstone-core / default.nix
blob7e297cce4f5595f0d2779ae53071119d98fa669a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pyaes,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "crownstone-core";
12   version = "3.2.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "crownstone";
19     repo = "crownstone-lib-python-core";
20     rev = version;
21     hash = "sha256-zrlCzx7N3aUcTUNa64jSzDdWgQneX+Hc5n8TTTcZ4ck=";
22   };
24   propagatedBuildInputs = [ pyaes ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "crownstone_core" ];
30   meta = with lib; {
31     description = "Python module with shared classes, util functions and definition of Crownstone";
32     homepage = "https://github.com/crownstone/crownstone-lib-python-core";
33     license = with licenses; [ mit ];
34     maintainers = with maintainers; [ fab ];
35   };