File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
pkgs/development/python-modules/pyblu Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 11{
22 aiohttp ,
3+ aioresponses ,
34 buildPythonPackage ,
4- fetchPypi ,
5+ fetchFromGitHub ,
56 lib ,
67 poetry-core ,
8+ pytest-asyncio ,
9+ pytestCheckHook ,
710 xmltodict ,
811} :
912
@@ -12,9 +15,11 @@ buildPythonPackage rec {
1215 version = "0.4.0" ;
1316 pyproject = true ;
1417
15- src = fetchPypi {
16- inherit pname version ;
17- hash = "sha256-qMbwrRD7ZUsHHOLF9yPvAxiTmJ8vJX1cyHX+4ONtsQ8=" ;
18+ src = fetchFromGitHub {
19+ owner = "LouisChrist" ;
20+ repo = "pyblu" ;
21+ rev = "refs/tags/v${ version } " ;
22+ hash = "sha256-Pj0L9D5j+5koqhbpr4maa8aLGka1FghKkMEbyKi/D3E=" ;
1823 } ;
1924
2025 build-system = [ poetry-core ] ;
@@ -26,9 +31,11 @@ buildPythonPackage rec {
2631
2732 pythonImportsCheck = [ "pyblu" ] ;
2833
29- # no tests on PyPI, no tags on GitHub
30- # https://github.com/LouisChrist/pyblu/issues/19
31- doCheck = false ;
34+ nativeCheckInputs = [
35+ aioresponses
36+ pytest-asyncio
37+ pytestCheckHook
38+ ] ;
3239
3340 meta = {
3441 description = "BluOS API client" ;
You can’t perform that action at this time.
0 commit comments