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

36 lines
688 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, aiohttp
, requests
}:
buildPythonPackage rec {
pname = "starline";
version = "0.1.5";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1753f5fcd2a6976aed775afb03f8392159f040c673917cc0c634510d95c13cb9";
};
propagatedBuildInputs = [
aiohttp
requests
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "starline" ];
meta = with lib; {
description = "Unofficial python library for StarLine API";
homepage = "https://github.com/Anonym-tsk/starline";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}