mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
26 lines
601 B
Nix
26 lines
601 B
Nix
{ lib, python, buildPythonPackage, fetchFromGitHub }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "simplefix";
|
|
version = "1.0.15";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "simplefix";
|
|
owner = "da4089";
|
|
rev = "v${version}";
|
|
sha256 = "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 ];
|
|
};
|
|
}
|