nixpkgs/pkgs/development/python-modules/ondilo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
788 B
Nix
Raw Normal View History

2021-04-22 22:49:15 +02:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, oauthlib
, pythonOlder
, requests
, requests-oauthlib
2021-04-22 22:49:15 +02:00
}:
buildPythonPackage rec {
pname = "ondilo";
2021-05-06 23:37:50 +02:00
version = "0.3.0";
format = "setuptools";
2021-04-22 22:49:15 +02:00
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "JeromeHXP";
repo = pname;
rev = version;
hash = "sha256-MI6K+41I/IVi+GRBdmRIHbljULDFLAwpo3W8tdxCOBM=";
2021-04-22 22:49:15 +02:00
};
propagatedBuildInputs = [
oauthlib
requests
requests-oauthlib
2021-04-22 22:49:15 +02:00
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"ondilo"
];
2021-04-22 22:49:15 +02:00
meta = with lib; {
description = "Python package to access Ondilo ICO APIs";
homepage = "https://github.com/JeromeHXP/ondilo";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}