mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 00:04:11 +00:00
41 lines
811 B
Nix
41 lines
811 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, h11
|
|
, sansio-multipart
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "overly";
|
|
version = "0.1.85";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "20a99526c7859acc859e87afd97b5c4916405e7477834f727b49210e478370cb";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
h11
|
|
sansio-multipart
|
|
];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "overly" ];
|
|
|
|
meta = {
|
|
description = "An overly configurable http server for client testing";
|
|
homepage = "https://github.com/theelous3/overly";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
broken = stdenv.isDarwin; # https://github.com/theelous3/overly/issues/2
|
|
};
|
|
}
|