nur-packages

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

default.nix (861B)


      1 { lib, fetchFromGitHub, python2Packages, gettext }:
      2 
      3 python2Packages.buildPythonApplication rec {
      4   pname = "opendict";
      5   version = "0.6.8";
      6 
      7   src = fetchFromGitHub {
      8     owner = "nerijus";
      9     repo = pname;
     10     rev = version;
     11     hash = "sha256-blHHAYTCRrN84oPvt44cFJRBpBCdqewRkGs1tbOr6kk=";
     12   };
     13 
     14   patches = [ ./0001-fix-makefile.patch ];
     15 
     16   nativeBuildInputs = [ gettext ];
     17   propagatedBuildInputs = with python2Packages; [ wxPython30 ];
     18 
     19   dontUseSetuptoolsBuild = true;
     20   dontUseSetuptoolsCheck = true;
     21   dontUsePipInstall = true;
     22 
     23   makeFlags = [ "DESTDIR=$(out)" ];
     24   makeWrapperArgs = [ "--prefix PYTHONPATH : $out/share/opendict" ];
     25 
     26   meta = with lib; {
     27     description = "Free multiplatform dictionary";
     28     homepage = "http://opendict.sf.net/";
     29     license = licenses.gpl2Plus;
     30     maintainers = [ maintainers.sikmir ];
     31     skip.ci = true;
     32   };
     33 }