mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
python310Packages.aranet4: 2.1.2 -> 2.1.3
Diff: https://github.com/Anrijs/Aranet4-Python/compare/refs/tags/v2.1.2...v2.1.3 - enable tests
This commit is contained in:
parent
fc4f384532
commit
7daf8fbabc
@ -1,7 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, bleak
|
, bleak
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
@ -9,14 +9,16 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aranet4";
|
pname = "aranet4";
|
||||||
version = "2.1.2";
|
version = "2.1.3";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "Anrijs";
|
||||||
hash = "sha256-nuxj/rNuwAy1DXaJs0Qrl9GffiZqFkWxT/0TYRxg92s=";
|
repo = "Aranet4-Python";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-5q4eOC9iuN8pUmDsiQ7OwEXkxi4KdL+bhGVjlQlTBAg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -24,8 +26,9 @@ buildPythonPackage rec {
|
|||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://github.com/Anrijs/Aranet4-Python/issues/31
|
checkInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"aranet4"
|
"aranet4"
|
||||||
|
Loading…
Reference in New Issue
Block a user