Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
839 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchPypi, pythonOlder, setuptools, tensorflow, torch,}:
buildPythonPackage rec { pname = "gin-config"; version = "0.5.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-DG6lAm3tknyMk8mQsBxpUlfB30RuReVJoVjPvHnhntY="; };
build-system = [ setuptools ];
optional-dependencies = { tensorflow = [ tensorflow ]; torch = [ torch ]; };
# PyPI archive does not ship with tests doCheck = false;
pythonImportsCheck = [ "gin" ];
meta = with lib; { description = "Gin provides a lightweight configuration framework for Python, based on dependency injection"; homepage = "https://github.com/google/gin-config"; license = licenses.asl20; maintainers = with maintainers; [ jethro ]; };}