depot/third_party/nixpkgs/pkgs/development/python-modules/simplefix/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

25 lines
599 B
Nix

{ lib, python, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "simplefix";
version = "1.0.15";
src = fetchFromGitHub {
repo = "simplefix";
owner = "da4089";
rev = "v${version}";
hash = "sha256-GQHMotxNRuRv6zXhrD02T+aFgfYe3RnvUGADsBeSPbA=";
};
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 ];
};
}