Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 843 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, flask 5, mock 6, prettytable 7, pyserial 8, pytestCheckHook 9, pythonOlder 10, requests 11, stevedore 12}: 13 14buildPythonPackage rec { 15 pname = "pynx584"; 16 version = "0.8.1"; 17 disabled = pythonOlder "3.6"; 18 19 20 src = fetchFromGitHub { 21 owner = "kk7ds"; 22 repo = pname; 23 rev = version; 24 hash = "sha256-nF8+LbKqy/GrnPpykS5wEQMPoFYxi40pfM3Ys/UXCeo="; 25 }; 26 27 propagatedBuildInputs = [ 28 flask 29 prettytable 30 pyserial 31 requests 32 stevedore 33 ]; 34 35 nativeCheckInputs = [ 36 mock 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ "nx584" ]; 41 42 meta = with lib; { 43 description = "Python package for communicating to NX584/NX8E interfaces"; 44 homepage = "https://github.com/kk7ds/pynx584"; 45 license = with licenses; [ gpl3Only ]; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}