nur-packages

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

default.nix (630B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage {
      8   pname = "revtok";
      9   version = "2018-09-21";
     10 
     11   src = fetchFromGitHub {
     12     owner = "jekbradbury";
     13     repo = "revtok";
     14     rev = "f1998b72a941d1e5f9578a66dc1c20b01913caab";
     15     hash = "sha256-o416UUnTMejCd57fGvZPSFQv0bT4PULdgNTXyAzMiMs=";
     16   };
     17 
     18   dependencies = with python3Packages; [ tqdm ];
     19 
     20   pythonImportsCheck = [ "revtok" ];
     21 
     22   meta = {
     23     description = "Reversible tokenization in Python";
     24     homepage = "https://github.com/jekbradbury/revtok";
     25     license = lib.licenses.mit;
     26     maintainers = [ lib.maintainers.sikmir ];
     27   };
     28 }