mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
33afbf39f6
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.
44 lines
837 B
Nix
44 lines
837 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, requests
|
|
, six
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, requests-toolbelt
|
|
, responses
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pushover-complete";
|
|
version = "1.1.1";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
pname = "pushover_complete";
|
|
inherit version;
|
|
sha256 = "8a8f867e1f27762a28a0832c33c6003ca54ee04c935678d124b4c071f7cf5a1f";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
requests-toolbelt
|
|
responses
|
|
];
|
|
|
|
pythonImportsCheck = [ "pushover_complete" ];
|
|
|
|
meta = with lib; {
|
|
description = "A Python package for interacting with *all* aspects of the Pushover API";
|
|
homepage = "https://github.com/scolby33/pushover_complete";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|