nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 37 lines 760 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "ohme"; 11 version = "1.7.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "dan-r"; 16 repo = "ohmepy"; 17 tag = "v${version}"; 18 hash = "sha256-EKi4etpZdt1y0qWsjHLlVbGfTa1vnv0/MbTtgtSOJi0="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ aiohttp ]; 24 25 pythonImportsCheck = [ "ohme" ]; 26 27 # Module has no tests 28 doCheck = false; 29 30 meta = { 31 description = "Module for interacting with the Ohme API"; 32 homepage = "https://github.com/dan-r/ohmepy"; 33 changelog = "https://github.com/dan-r/ohmepy/releases/tag/${src.tag}"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}