Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 602 B view raw
1{ lib, python, buildPythonPackage, fetchFromGitHub }: 2 3buildPythonPackage rec { 4 pname = "simplefix"; 5 version = "1.0.12"; 6 7 src = fetchFromGitHub { 8 repo = "simplefix"; 9 owner = "da4089"; 10 rev = "v${version}"; 11 sha256 = "0pnyqxpki1ija0kha7axi6irgiifcz4w77libagkv46b1z11cc4r"; 12 }; 13 14 checkPhase = '' 15 cd test 16 ${python.interpreter} -m unittest all 17 ''; 18 19 meta = with lib; { 20 description = "Simple FIX Protocol implementation for Python"; 21 homepage = "https://github.com/da4089/simplefix"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ catern ]; 24 }; 25}