Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / xmodem / default.nix
bloba53567f7fa8bdff30c5cdcdaebe7debccb048e7a
1 { lib, buildPythonPackage, fetchFromGitHub, pytest, which, lrzsz }:
3 buildPythonPackage rec {
4   pname = "xmodem";
5   version = "0.4.6";
7   src = fetchFromGitHub {
8     owner = "tehmaze";
9     repo = "xmodem";
10     rev = version;
11     sha256 = "1xx7wd8bnswxa1fv3bfim2gcamii79k7qmwg7dbxbjvrhbcjjc0l";
12   };
14   checkInputs = [ pytest which lrzsz ];
16   checkPhase = ''
17     pytest
18   '';
20   meta = with 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   };