1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/development/python-modules/stripe/default.nix
R. RyanTM 8f7a3f4238 python36Packages.stripe: 2.6.0 -> 2.10.1 (#50602)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-stripe/versions
2018-11-18 21:13:42 +01:00

27 lines
659 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy3k
, unittest2, mock, requests, simplejson }:
buildPythonPackage rec {
pname = "stripe";
version = "2.10.1";
# Tests require network connectivity and there's no easy way to disable
# them. ~ C.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "12dslgxr06ymv1w9lzvlxp1zg0p6zg58l67pdb3v5v24c51rxrg7";
};
checkInputs = [ unittest2 mock ];
propagatedBuildInputs = [ requests ] ++ lib.optional (!isPy3k) simplejson;
meta = with lib; {
description = "Stripe Python bindings";
homepage = https://github.com/stripe/stripe-python;
license = licenses.mit;
};
}