mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 13:53:24 +00:00
python310Packages.todoist: add pythonImportsCheck
This commit is contained in:
parent
0b8752bb65
commit
1806785beb
@ -1,21 +1,33 @@
|
||||
{ lib, fetchPypi, buildPythonPackage
|
||||
, requests, pythonOlder, typing
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "todoist-python";
|
||||
version = "8.1.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-AFRKA5VRD6jyiguZYP7WOQOWqHq1GjUzbuez0f1070U=";
|
||||
hash = "sha256-AFRKA5VRD6jyiguZYP7WOQOWqHq1GjUzbuez0f1070U=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ] ++ lib.optional (pythonOlder "3.5") typing;
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"todoist"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "The official Todoist Python API library";
|
||||
homepage = "https://todoist-python.readthedocs.io/en/latest/";
|
||||
homepage = "https://todoist-python.readthedocs.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user