nixpkgs/pkgs/development/python-modules/mixpanel/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

48 lines
789 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
# Python Dependencies
, six
, urllib3
, requests
# tests
, pytestCheckHook
, responses
}:
buildPythonPackage rec {
pname = "mixpanel";
version = "4.10.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mixpanel";
repo = "mixpanel-python";
rev = "refs/tags/v${version}";
hash = "sha256-jV2NLEc23uaI5Q7ZXDwGaZV9iAKQLMAETRTw8epZwQA=";
};
propagatedBuildInputs = [
requests
six
urllib3
];
nativeCheckInputs = [
pytestCheckHook
responses
];
meta = with lib; {
homepage = "https://github.com/mixpanel/mixpanel-python";
description = "Official Mixpanel Python library";
license = licenses.asl20;
maintainers = with maintainers; [
kamadorueda
];
};
}