python3Packages.restfly: init at 1.3.5
This commit is contained in:
parent
96a04108e0
commit
57ff22deab
43
pkgs/development/python-modules/restfly/default.nix
Normal file
43
pkgs/development/python-modules/restfly/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, arrow
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-datafiles
|
||||
, pytest-vcr
|
||||
, pytestCheckHook
|
||||
, python-box
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "restfly";
|
||||
version = "1.3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stevemcgrath";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0cq07wj6g3kg7i4qyjp3n3pv13k9p4p43rd6kn139wsn1mh8fr56";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
arrow
|
||||
python-box
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-datafiles
|
||||
pytest-vcr
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "restfly" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python RESTfly API Library Framework";
|
||||
homepage = "https://github.com/stevemcgrath/restfly";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user