Skip to content

Commit

Permalink
python311Packages.amcrest: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed May 22, 2024
1 parent f571160 commit 85b2d39
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions pkgs/development/python-modules/amcrest/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@
argcomplete,
buildPythonPackage,
fetchFromGitHub,
mock,
httpx,
mock,
pytestCheckHook,
pythonOlder,
requests,
responses,
urllib3,
setuptools,
typing-extensions,
urllib3,
}:

buildPythonPackage rec {
pname = "amcrest";
version = "1.9.8";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.7";

Expand All @@ -27,7 +28,11 @@ buildPythonPackage rec {
hash = "sha256-v0jWEZo06vltEq//suGrvJ/AeeDxUG5CCFhbf03q34w=";
};

propagatedBuildInputs = [
build-system = [
setuptools
];

dependencies = [
argcomplete
httpx
requests
Expand All @@ -41,13 +46,15 @@ buildPythonPackage rec {
responses
];

pythonImportsCheck = [ "amcrest" ];
pythonImportsCheck = [
"amcrest"
];

meta = with lib; {
description = "Python module for Amcrest and Dahua Cameras";
homepage = "https://github.com/tchellomello/python-amcrest";
changelog = "https://github.com/tchellomello/python-amcrest/releases/tag/${version}";
license = with licenses; [ gpl2Only ];
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

0 comments on commit 85b2d39

Please sign in to comment.