nur-packages

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

default.nix (712B)


      1 { lib, stdenv, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonApplication rec {
      4   pname = "morse-talk";
      5   version = "2016-12-25";
      6 
      7   src = fetchFromGitHub {
      8     owner = "morse-talk";
      9     repo = "morse-talk";
     10     rev = "71e09ace0aa554d28cada5ee658e43758305b8fa";
     11     hash = "sha256-fvQCETz0Lv0hyfKG7HC2Whm+xoZ9233hF/1ogsfZ10o=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [ matplotlib sounddevice tkinter ];
     15 
     16   nativeCheckInputs = with python3Packages; [ nose ];
     17   checkPhase = "nosetests";
     18 
     19   meta = with lib; {
     20     description = "A Python library written for Morse Code";
     21     inherit (src.meta) homepage;
     22     license = licenses.gpl2;
     23     maintainers = [ maintainers.sikmir ];
     24   };
     25 }