git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.plaid-python: init at 2.3.0 (#42530)

* pythonPackages.plaid-python: init at 2.3.0 * Run unit tests with py.test

commit6e146c370013a177eb4e446c20cfe6895cb4d4d5 authorBenjamin Hipple <bhipple@protonmail.com> dateMon 25 Jun 2018, 09:05 (8 years ago) parent7e77094
2 files changed+26
pkgs/development/python-modules/plaid-python/default.nix+24 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/plaid-python/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ lib, buildPythonPackage, fetchPypi, requests, pytest }:
2+
3+buildPythonPackage rec {
4+ version = "2.3.0";
5+ pname = "plaid-python";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "0kp0crzjginmga6qvwwppar5b2pbdvwryf6vdpxgx7kkwzv33w97";
10+ };
11+
12+ checkInputs = [ pytest ];
13+ # Integration tests require API keys and internet access
14+ checkPhase = "py.test -rxs ./tests/unit";
15+
16+ propagatedBuildInputs = [ requests ];
17+
18+ meta = {
19+ description = "Python client library for the Plaid API and Link";
20+ homepage = https://github.com/plaid/plaid-python;
21+ license = lib.licenses.mit;
22+ maintainers = with lib.maintainers; [ bhipple ];
23+ };
24+}
pkgs/top-level/python-packages.nix+2
@@ -3868,6 +3868,8 @@ in {
38683868
38693869 phpserialize = callPackage ../development/python-modules/phpserialize { };
38703870
3871+ plaid-python = callPackage ../development/python-modules/plaid-python { };
3872+
38713873 plaster = callPackage ../development/python-modules/plaster {};
38723874
38733875 plaster-pastedeploy = callPackage ../development/python-modules/plaster-pastedeploy {};