nixpkgs/pkgs/development/python-modules/xmodem/default.nix
Rouven Czerwinski 7a4aa780ca python3Packages.xmodem: 0.4.5 -> 0.4.6
Version bump.
2021-01-03 13:28:34 +01:00

27 lines
615 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub, pytest, which, lrzsz }:
buildPythonPackage rec {
pname = "xmodem";
version = "0.4.6";
src = fetchFromGitHub {
owner = "tehmaze";
repo = "xmodem";
rev = version;
sha256 = "1xx7wd8bnswxa1fv3bfim2gcamii79k7qmwg7dbxbjvrhbcjjc0l";
};
checkInputs = [ pytest which lrzsz ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "Pure python implementation of the XMODEM protocol";
maintainers = with maintainers; [ emantor ];
homepage = "https://github.com/tehmaze/xmodem";
license = licenses.mit;
};
}