depot/third_party/nixpkgs/pkgs/development/python-modules/starline/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

41 lines
730 B
Nix

{ 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 ];
};
}