nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

package.nix (875B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonApplication {
      8   pname = "telegram-send";
      9   version = "0-unstable-2023-10-07";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "rahiel";
     14     repo = "telegram-send";
     15     rev = "38cd39fb0eac6c58e886c11706ae39f58991af55";
     16     hash = "sha256-DeEz1cVor2GBoQrDIHNWr5IYnPgBsTWr5xMuSM38MBw=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools ];
     20 
     21   nativeBuildInputs = with python3Packages; [ pip ];
     22 
     23   dependencies = with python3Packages; [
     24     appdirs
     25     colorama
     26     python-telegram-bot
     27   ];
     28 
     29   pythonRelaxDeps = true;
     30 
     31   doCheck = false;
     32 
     33   meta = {
     34     description = "Send messages and files over Telegram from the command-line";
     35     homepage = "https://www.rahielkasim.com/telegram-send/";
     36     license = lib.licenses.gpl3Plus;
     37     maintainers = [ lib.maintainers.sikmir ];
     38   };
     39 }