My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/python-songpal/default.nix

51 lines
944 B

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, aiohttp
, async-upnp-client
, attrs
, click
, importlib-metadata
}:
buildPythonPackage rec {
pname = "python-songpal";
version = "0.14.1";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "rytilahti";
repo = "python-songpal";
rev = version;
hash = "sha256-lLRAXoz95hSt1JcWbQ1g5xmvDOeUmeXPa9pCuJktaeY=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
async-upnp-client
attrs
click
importlib-metadata
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "songpal" ];
meta = with lib; {
description = "Python library for interfacing with Sony's Songpal devices";
homepage = "https://github.com/rytilahti/python-songpal";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dotlambda ];
};
}