nur-packages

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

package.nix (697B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchgit,
      5   python3,
      6 }:
      7 
      8 stdenv.mkDerivation {
      9   pname = "tcvt";
     10   version = "0-unstable-2022-09-28";
     11 
     12   __structuredAttrs = true;
     13 
     14   src = fetchgit {
     15     url = "git://git.subdivi.de/~helmut/tcvt.git";
     16     rev = "4b6275c0617628c306c42b98b9c7f2107bf64d48";
     17     hash = "sha256-32oCtTOYFoPKHgJ7RzamcSW5H+Z1WR+iQK02yC/62Sk=";
     18   };
     19 
     20   buildInputs = [ python3 ];
     21 
     22   postPatch = ''
     23     patchShebangs tcvt.py
     24   '';
     25 
     26   makeFlags = [ "PREFIX=$(out)" ];
     27 
     28   meta = {
     29     description = "ANSI terminal emulator";
     30     homepage = "https://subdivi.de/~helmut/tcvt/";
     31     license = lib.licenses.bsd2;
     32     maintainers = [ lib.maintainers.sikmir ];
     33     platforms = python3.meta.platforms;
     34   };
     35 }