Files
nixpkgs/pkgs/development/python-modules/goslide-api/default.nix
2026-07-09 09:57:21 -07:00

42 lines
851 B
Nix

{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
}:
buildPythonPackage rec {
pname = "goslide-api";
version = "0.7.4";
pyproject = true;
src = fetchFromGitHub {
owner = "ualex73";
repo = "goslide-api";
tag = version;
hash = "sha256-Z3+GijoI+351zV7IpLSBQu6LE2OhhXho4ygNMVbg2xs=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail "version='0.7.3'" "version='${version}'"
'';
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "goslideapi" ];
# upstream has no tests
doCheck = false;
meta = {
description = "Python API to utilise the Slide Open Cloud and Local API";
homepage = "https://github.com/ualex73/goslide-api";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
}