Files
nixpkgs/pkgs/development/python-modules/kivy-garden/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
727 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
}:
buildPythonPackage rec {
pname = "kivy-garden";
version = "0.1.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "kivy-garden";
repo = "garden";
rev = "v${version}";
hash = "sha256-xOMBPFKV7mTa51Q0VKja7b0E509IaWjwlJVlSRVdct8=";
};
propagatedBuildInputs = [ requests ];
pythonImportsCheck = [ "garden" ];
# There are no tests
doCheck = false;
meta = {
description = "Kivy garden installation script, split into its own package for convenient use in buildozer";
homepage = "https://github.com/kivy-garden/garden";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ risson ];
};
}