nixpkgs/pkgs/development/python-modules/locustio/default.nix
Christopher Ostrouchov b5b48c0a91 pythonPackages.locustio: 0.8.1 -> 0.9.0 (#46191)
Fixing build issue. Additionally fetching from github becuase pypi
packge does not come with README which is a buildtime dependency.
2018-09-07 08:38:41 +02:00

31 lines
545 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, mock
, unittest2
, msgpack
, requests
, flask
, gevent
, pyzmq
}:
buildPythonPackage rec {
pname = "locustio";
version = "0.9.0";
src = fetchFromGitHub {
owner = "locustio";
repo = "locust";
rev = "${version}";
sha256 = "1645d63ig4ymw716b6h53bhmjqqc13p9r95k1xfx66ck6vdqnisd";
};
propagatedBuildInputs = [ msgpack requests flask gevent pyzmq ];
buildInputs = [ mock unittest2 ];
meta = {
homepage = https://locust.io/;
description = "A load testing tool";
};
}