forked from mirrors/nixpkgs
idasen: init at 0.7.1
This commit is contained in:
parent
196dd6a2a7
commit
0c201d1f78
50
pkgs/development/python-modules/idasen/default.nix
Normal file
50
pkgs/development/python-modules/idasen/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
, fetchFromGitHub
|
||||||
|
, bleak
|
||||||
|
, pyyaml
|
||||||
|
, voluptuous
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
|
, poetry-core
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "idasen";
|
||||||
|
version = "0.7.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "newAM";
|
||||||
|
repo = "idasen";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1jdgdby33fd63mnxrfv04dz4fsrikkfmc0ybwwxi816mbkml7n34";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
bleak
|
||||||
|
pyyaml
|
||||||
|
voluptuous
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "idasen" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python API and CLI for the ikea IDÅSEN desk";
|
||||||
|
homepage = "https://github.com/newAM/idasen";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ newam ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -15659,6 +15659,8 @@ in
|
||||||
|
|
||||||
id3lib = callPackage ../development/libraries/id3lib { };
|
id3lib = callPackage ../development/libraries/id3lib { };
|
||||||
|
|
||||||
|
idasen = with python3Packages; toPythonApplication idasen;
|
||||||
|
|
||||||
ilbc = callPackage ../development/libraries/ilbc { };
|
ilbc = callPackage ../development/libraries/ilbc { };
|
||||||
|
|
||||||
ilixi = callPackage ../development/libraries/ilixi { };
|
ilixi = callPackage ../development/libraries/ilixi { };
|
||||||
|
|
|
@ -3385,6 +3385,8 @@ in {
|
||||||
|
|
||||||
ics = callPackage ../development/python-modules/ics { };
|
ics = callPackage ../development/python-modules/ics { };
|
||||||
|
|
||||||
|
idasen = callPackage ../development/python-modules/idasen { };
|
||||||
|
|
||||||
identify = callPackage ../development/python-modules/identify { };
|
identify = callPackage ../development/python-modules/identify { };
|
||||||
|
|
||||||
idna = callPackage ../development/python-modules/idna { };
|
idna = callPackage ../development/python-modules/idna { };
|
||||||
|
|
Loading…
Reference in a new issue