pythonPackages.pydiscourse: init at 1.4.0

Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
Paul Dettorer Hervot
2023-08-30 10:33:57 +02:00
co-authored by Fabian Affolter
parent 743f1b8475
commit 090ea50ba5
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "pydiscourse";
version = "1.4.0";
format = "setuptools";
disabled = pythonOlder "3.7";
nativeCheckInputs = [
unittestCheckHook
];
src = fetchFromGitHub {
owner = "pydiscourse";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-peDkXRcD/ieWYWXqv8hPxTSNRXBHcb/3sj/JJSF2RYg=";
};
propagatedBuildInputs = [ requests ];
pythonImportsCheck = [ "pydiscourse" ];
meta = with lib; {
homepage = "https://github.com/pydiscourse/pydiscourse";
changelog = "https://github.com/pydiscourse/pydiscourse/releases/tag/v${version}";
description = "A Python library for working with Discourse";
license = licenses.mit;
maintainers = with maintainers; [ Dettorer ];
};
}
+2
View File
@@ -8964,6 +8964,8 @@ self: super: with self; {
pydigiham = callPackage ../development/python-modules/pydigiham { };
pydiscourse = callPackage ../development/python-modules/pydiscourse { };
pydispatcher = callPackage ../development/python-modules/pydispatcher { };
pydmd = callPackage ../development/python-modules/pydmd { };