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