ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pleroma-bot / default.nix
blobed586a4474b8b0d210b928070bed364b078aa847
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , requests-mock
6 , oauthlib
7 , requests-oauthlib
8 , requests
9 , pyaml
10 , pythonOlder
13 buildPythonPackage rec {
14   pname = "pleroma-bot";
15   version = "0.8.6";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "robertoszek";
22     repo = pname;
23     rev = version;
24     hash = "sha256-vJxblpf3NMSyYMHeWG7vHP5AeluTtMtVxOsHgvGDHeA=";
25   };
27   propagatedBuildInputs = [
28     pyaml
29     requests
30     requests-oauthlib
31     oauthlib
32   ];
34   checkInputs = [
35     pytestCheckHook
36     requests-mock
37   ];
39   pythonImportsCheck = [
40     "pleroma_bot"
41   ];
43   meta = with lib; {
44     description = "Bot for mirroring one or multiple Twitter accounts in Pleroma/Mastodon";
45     homepage = "https://robertoszek.github.io/pleroma-bot/";
46     license = licenses.mit;
47     maintainers = with maintainers; [ robertoszek ];
48   };