nur-packages

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

default.nix (667B)


      1 { lib, stdenv, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonApplication rec {
      4   pname = "zdict";
      5   version = "4.0.5";
      6 
      7   src = fetchFromGitHub {
      8     owner = "zdict";
      9     repo = "zdict";
     10     rev = version;
     11     hash = "sha256-uiCD2ZuVP1Pu7r/uOEctjMhsupxm++i0kiHxU9DNp9M=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [
     15     beautifulsoup4
     16     peewee
     17     requests
     18   ];
     19 
     20   postPatch = "sed -i 's/==.*//' requirements.txt";
     21 
     22   doCheck = false;
     23 
     24   meta = with lib; {
     25     description = "The last online dictionary framework you need";
     26     inherit (src.meta) homepage;
     27     license = licenses.gpl3;
     28     maintainers = [ maintainers.sikmir ];
     29   };
     30 }