python3Packages.crownstone-core: init at 3.0.1
This commit is contained in:
parent
d1b2e3b0e8
commit
0465cd739c
41
pkgs/development/python-modules/crownstone-core/default.nix
Normal file
41
pkgs/development/python-modules/crownstone-core/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pyaes
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "crownstone-core";
|
||||
version = "3.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crownstone";
|
||||
repo = "crownstone-lib-python-core";
|
||||
rev = version;
|
||||
sha256 = "138lignv7c8kkqbqfkdcfpg39gm9x44h7r2j403m4ib7gq420hsn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyaes
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"crownstone_core"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module with shared classes, util functions and definition of Crownstone";
|
||||
homepage = "https://github.com/crownstone/crownstone-lib-python-core";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -1741,6 +1741,8 @@ in {
|
||||
|
||||
crownstone-cloud = callPackage ../development/python-modules/crownstone-cloud { };
|
||||
|
||||
crownstone-core = callPackage ../development/python-modules/crownstone-core { };
|
||||
|
||||
cryptacular = callPackage ../development/python-modules/cryptacular { };
|
||||
|
||||
cryptography = callPackage ../development/python-modules/cryptography {
|
||||
|
Loading…
Reference in New Issue
Block a user