Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
867 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ buildPythonPackage, defusedxml, fetchFromGitHub, lib, setuptools,}:
buildPythonPackage rec { pname = "libpyfoscamcgi"; version = "0.0.6"; pyproject = true;
src = fetchFromGitHub { owner = "Foscam-wangzhengyu"; repo = "libfoscamcgi"; tag = "v${version}"; hash = "sha256-L9QGXBEK1cehP/eJ2++Um4WCgQMG5Rv8UAnZg4Mfwu4="; };
build-system = [ setuptools ];
dependencies = [ defusedxml ];
pythonImportsCheck = [ "libpyfoscamcgi" ];
# tests need access to a camera doCheck = false;
meta = { changelog = "https://github.com/Foscam-wangzhengyu/libfoscamcgi/releases/tag/${src.tag}"; description = "Python Library for Foscam IP Cameras"; homepage = "https://github.com/Foscam-wangzhengyu/libfoscamcgi"; license = lib.licenses.lgpl3Plus; maintainers = with lib.maintainers; [ dotlambda ]; };}