nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 26 lines 613 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub, pytest, which, lrzsz }: 2 3buildPythonPackage rec { 4 pname = "xmodem"; 5 version = "0.4.5"; 6 7 src = fetchFromGitHub { 8 owner = "tehmaze"; 9 repo = "xmodem"; 10 rev = version; 11 sha256 = "0nz2gxwaq3ys1knpw6zlz3xrc3ziambcirg3fmp3nvzjdq8ma3h0"; 12 }; 13 14 checkInputs = [ pytest which lrzsz ]; 15 16 checkPhase = '' 17 pytest 18 ''; 19 20 meta = with stdenv.lib; { 21 description = "Pure python implementation of the XMODEM protocol"; 22 maintainers = with maintainers; [ emantor ]; 23 homepage = https://github.com/tehmaze/xmodem; 24 license = licenses.mit; 25 }; 26}