2019-08-09 17:19:33 +01:00
|
|
|
{ lib, python, buildPythonPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "simplefix";
|
2020-10-17 04:01:11 +01:00
|
|
|
version = "1.0.14";
|
2019-08-09 17:19:33 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "simplefix";
|
|
|
|
owner = "da4089";
|
|
|
|
rev = "v${version}";
|
2020-10-17 04:01:11 +01:00
|
|
|
sha256 = "1qccb63w6swq7brp0zinkkngpazmb25r21adry5cq6nniqs5g5zx";
|
2019-08-09 17:19:33 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
cd test
|
|
|
|
${python.interpreter} -m unittest all
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple FIX Protocol implementation for Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/da4089/simplefix";
|
2019-08-09 17:19:33 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ catern ];
|
|
|
|
};
|
|
|
|
}
|