Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / xmodem / default.nix
blobea4396d28f30e81b0c71646362de4473a8aab246
1 { lib, buildPythonPackage, fetchFromGitHub, pytest, which, lrzsz }:
3 buildPythonPackage rec {
4   pname = "xmodem";
5   version = "0.4.7";
6   format = "setuptools";
8   src = fetchFromGitHub {
9     owner = "tehmaze";
10     repo = "xmodem";
11     rev = "refs/tags/${version}";
12     sha256 = "sha256-kwPA/lYiv6IJSKGRuH13tBofZwp19vebwQniHK7A/i8=";
13   };
15   nativeCheckInputs = [ pytest which lrzsz ];
17   checkPhase = ''
18     pytest
19   '';
21   meta = with lib; {
22     description = "Pure python implementation of the XMODEM protocol";
23     maintainers = with maintainers; [ emantor ];
24     homepage = "https://github.com/tehmaze/xmodem";
25     license = licenses.mit;
26   };