nur-packages

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

default.nix (612B)


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