Merge pull request #114670 from robertoszek/nixpkgs-pleroma-bot-init-at-0.8.6
This commit is contained in:
commit
7e34180cc2
@ -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";
|
||||
|
34
pkgs/development/python-modules/pleroma-bot/default.nix
Normal file
34
pkgs/development/python-modules/pleroma-bot/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user