nur-packages

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

default.nix (786B)


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