Merge pull request #255782 from r-ryantm/auto-update/python310Packages.simplefix
python310Packages.simplefix: 1.0.16 -> 1.0.17
This commit is contained in:
commit
ec6524c5d3
1 changed files with 24 additions and 7 deletions
|
@ -1,24 +1,41 @@
|
||||||
{ lib, python, buildPythonPackage, fetchFromGitHub }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
, unittestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "simplefix";
|
pname = "simplefix";
|
||||||
version = "1.0.16";
|
version = "1.0.17";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "simplefix";
|
repo = "simplefix";
|
||||||
owner = "da4089";
|
owner = "da4089";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-dkwmWCOeTAoeSY8+1wg7RWX/d57JWc8bGagzrEPMAIU=";
|
hash = "sha256-D85JW3JRQ1xErw6krMbAg94WYjPi76Xqjv/MGNMY5ZU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkPhase = ''
|
nativeCheckInputs = [
|
||||||
cd test
|
unittestCheckHook
|
||||||
${python.interpreter} -m unittest all
|
];
|
||||||
'';
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"simplefix"
|
||||||
|
];
|
||||||
|
|
||||||
|
unittestFlagsArray = [
|
||||||
|
"-s"
|
||||||
|
"test"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple FIX Protocol implementation for Python";
|
description = "Simple FIX Protocol implementation for Python";
|
||||||
homepage = "https://github.com/da4089/simplefix";
|
homepage = "https://github.com/da4089/simplefix";
|
||||||
|
changelog = "https://github.com/da4089/simplefix/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ catern ];
|
maintainers = with maintainers; [ catern ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue