mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
8f7a3f4238
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
27 lines
659 B
Nix
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;
|
|
};
|
|
}
|