2020-04-24 23:36:52 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "simplefix";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "1.0.15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "simplefix";
|
|
|
|
owner = "da4089";
|
|
|
|
rev = "v${version}";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-GQHMotxNRuRv6zXhrD02T+aFgfYe3RnvUGADsBeSPbA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd test
|
|
|
|
${python.interpreter} -m unittest all
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple FIX Protocol implementation for Python";
|
|
|
|
homepage = "https://github.com/da4089/simplefix";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ catern ];
|
|
|
|
};
|
|
|
|
}
|