depot/third_party/nixpkgs/pkgs/development/python-modules/simplefix/default.nix
Default email d6cfb865ad Project import generated by Copybara.
GitOrigin-RevId: 5265d49a36bb5a18c85e6817b338b456acc3b8cc
2020-10-18 20:13:06 -04:00

25 lines
602 B
Nix

{ lib, python, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "simplefix";
version = "1.0.14";
src = fetchFromGitHub {
repo = "simplefix";
owner = "da4089";
rev = "v${version}";
sha256 = "1qccb63w6swq7brp0zinkkngpazmb25r21adry5cq6nniqs5g5zx";
};
checkPhase = ''
cd test
${python.interpreter} -m unittest all
'';
meta = with lib; {
description = "Simple FIX Protocol implementation for Python";
homepage = "https://github.com/da4089/simplefix";
license = licenses.mit;
maintainers = with maintainers; [ catern ];
};
}