depot/third_party/nixpkgs/pkgs/development/python-modules/devialet/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

45 lines
878 B
Nix

{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "devialet";
version = "1.4.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fwestenberg";
repo = "devialet";
rev = "refs/tags/v${version}";
hash = "sha256-oGa5tRCJAWBg/877UmmXnX7fkFLoxhyuG6gpXmyhRKo=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"devialet"
];
meta = with lib; {
description = "Library to interact with the Devialet API";
homepage = "https://github.com/fwestenberg/devialet";
changelog = "https://github.com/fwestenberg/devialet/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}