depot/third_party/nixpkgs/pkgs/development/python-modules/huisbaasje-client/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

38 lines
753 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "huisbaasje-client";
version = "0.1.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "dennisschroer";
repo = "huisbaasje-client";
rev = "v${version}";
sha256 = "113aymffyz1nki3a43j5cyj87qa0762j38qlz0wd5px7diwjxsfl";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "huisbaasje.huisbaasje" ];
meta = with lib; {
description = "Client for Huisbaasje";
homepage = "https://github.com/dennisschroer/huisbaasje-client";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}