depot/third_party/nixpkgs/pkgs/development/python-modules/starline/default.nix

42 lines
730 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, requests
}:
buildPythonPackage rec {
pname = "starline";
version = "0.2.0";
disabled = pythonOlder "3.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-VQsAq5XPWdkz93CKurQKTkHleQ5itlNHGv6Go68zIOY=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
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 ];
};
}