about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/simplefix/default.nix
blob: 1f90a3b0ef970d44f7c478fce88f938bf789f0a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, python, buildPythonPackage, fetchFromGitHub }:

buildPythonPackage rec {
  pname = "simplefix";
  version = "1.0.16";

  src = fetchFromGitHub {
    repo = "simplefix";
    owner = "da4089";
    rev = "refs/tags/v${version}";
    hash = "sha256-dkwmWCOeTAoeSY8+1wg7RWX/d57JWc8bGagzrEPMAIU=";
  };

  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 ];
  };
}