3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #114670 from robertoszek/nixpkgs-pleroma-bot-init-at-0.8.6

This commit is contained in:
Sandro 2021-03-01 18:08:04 +01:00 committed by GitHub
commit 7e34180cc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 0 deletions

View file

@ -8049,6 +8049,12 @@
githubId = 3708689;
name = "Roberto Di Remigio";
};
robertoszek = {
email = "robertoszek@robertoszek.xyz";
github = "robertoszek";
githubId = 1080963;
name = "Roberto";
};
robgssp = {
email = "robgssp@gmail.com";
github = "robgssp";

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, requests-mock
, oauthlib
, requests_oauthlib
, requests
, pyaml
}:
buildPythonPackage rec {
pname = "pleroma-bot";
version = "0.8.6";
src = fetchFromGitHub {
owner = "robertoszek";
repo = "pleroma-bot";
rev = version;
sha256 = "1q0xhgqq41zbqiawpd4kbdx41zhwxxp5ipn1c2rc8d7pjyb5p75w";
};
propagatedBuildInputs = [ pyaml requests requests_oauthlib oauthlib ];
checkInputs = [ pytestCheckHook requests-mock ];
pythonImportsCheck = [ "pleroma_bot" ];
meta = with lib; {
homepage = "https://robertoszek.github.io/pleroma-bot/";
description = "Bot for mirroring one or multiple Twitter accounts in Pleroma/Mastodon";
license = licenses.mit;
maintainers = with maintainers; [ robertoszek ];
};
}

View file

@ -24046,6 +24046,8 @@ in
stdenv = stdenv_32bit;
};
pleroma-bot = python3Packages.callPackage ../development/python-modules/pleroma-bot { };
polybar = callPackage ../applications/misc/polybar { };
polybarFull = callPackage ../applications/misc/polybar {