blob: 329c1ba313e0d8abc7cd1a746b47b9ffacc1b9d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "simplefix";
version = "1.0.17";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
repo = "simplefix";
owner = "da4089";
rev = "refs/tags/v${version}";
hash = "sha256-D85JW3JRQ1xErw6krMbAg94WYjPi76Xqjv/MGNMY5ZU=";
};
nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [
"simplefix"
];
unittestFlagsArray = [
"-s"
"test"
];
meta = with lib; {
description = "Simple FIX Protocol implementation for Python";
homepage = "https://github.com/da4089/simplefix";
changelog = "https://github.com/da4089/simplefix/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ catern ];
};
}
|