1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-06 10:39:29 +03:00
nixpkgs/pkgs/development/python-modules/pytest-httpbin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
792 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, httpbin
, pytest
, pytestCheckHook
, requests
, six
2017-04-26 19:02:17 +02:00
}:
buildPythonPackage rec {
pname = "pytest-httpbin";
version = "1.0.1";
2017-04-26 19:02:17 +02:00
src = fetchFromGitHub {
owner = "kevin1024";
repo = "pytest-httpbin";
rev = "v${version}";
hash = "sha256-Vngd8Vum96+rdG8Nz1+aHrO6WZjiAz+0CeIovaH8N+s=";
2017-04-26 19:02:17 +02:00
};
buildInputs = [
pytest
];
2017-04-26 19:02:17 +02:00
propagatedBuildInputs = [
httpbin
six
];
2017-04-26 19:02:17 +02:00
checkInputs = [
pytestCheckHook
requests
];
pythonImportsCheck = [
"pytest_httpbin"
];
meta = with lib; {
description = "Test your HTTP library against a local copy of httpbin.org";
homepage = "https://github.com/kevin1024/pytest-httpbin";
license = licenses.mit;
maintainers = with maintainers; [ ];
2017-04-26 19:02:17 +02:00
};
}