nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 35 lines 729 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 unittestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "simplefix"; 10 version = "1.0.17"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 repo = "simplefix"; 15 owner = "da4089"; 16 tag = "v${version}"; 17 hash = "sha256-D85JW3JRQ1xErw6krMbAg94WYjPi76Xqjv/MGNMY5ZU="; 18 }; 19 20 nativeCheckInputs = [ unittestCheckHook ]; 21 22 pythonImportsCheck = [ "simplefix" ]; 23 24 unittestFlagsArray = [ 25 "-s" 26 "test" 27 ]; 28 29 meta = { 30 description = "Simple FIX Protocol implementation for Python"; 31 homepage = "https://github.com/da4089/simplefix"; 32 changelog = "https://github.com/da4089/simplefix/releases/tag/v${version}"; 33 license = lib.licenses.mit; 34 }; 35}