mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:25:38 +00:00
53ea46b450
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.7-facebook-sdk/versions
33 lines
708 B
Nix
33 lines
708 B
Nix
{ pkgs
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "facebook-sdk";
|
|
version = "3.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "138grz0n6plzdqgi4h6hhszf58bsvx9v76cwj51g1nd3kvkd5g6a";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
# checks require network
|
|
doCheck = false;
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} test/test_facebook.py
|
|
'';
|
|
|
|
meta = with pkgs.lib; {
|
|
description = "Client library that supports the Facebook Graph API and the official Facebook JavaScript SDK";
|
|
homepage = https://github.com/pythonforfacebook/facebook-sdk;
|
|
license = licenses.asl20 ;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|