1{ lib, python, buildPythonPackage, fetchFromGitHub }:
2
3buildPythonPackage rec {
4 pname = "simplefix";
5 version = "1.0.15";
6
7 src = fetchFromGitHub {
8 repo = "simplefix";
9 owner = "da4089";
10 rev = "v${version}";
11 sha256 = "sha256-GQHMotxNRuRv6zXhrD02T+aFgfYe3RnvUGADsBeSPbA=";
12 };
13
14 checkPhase = ''
15 cd test
16 ${python.interpreter} -m unittest all
17 '';
18
19 meta = with lib; {
20 description = "Simple FIX Protocol implementation for Python";
21 homepage = "https://github.com/da4089/simplefix";
22 license = licenses.mit;
23 maintainers = with maintainers; [ catern ];
24 };
25}