nixpkgs/pkgs/development/python-modules/gin-config/default.nix

30 lines
634 B
Nix
Raw Normal View History

2018-11-03 09:24:30 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, six
, enum34
, absl-py
, tensorflow
}:
buildPythonPackage rec {
pname = "gin-config";
version = "0.1.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1zqzhg8nqdqjx0sjrsrs9bpyiaqqlyihqhhy2ijrpp62x9rjllga";
};
2018-11-09 13:24:34 +00:00
propogatedBuildInputs = [ six enum34 ];
2018-11-03 09:24:30 +00:00
checkInputs = [ absl-py tensorflow ];
meta = with lib; {
homepage = https://github.com/google/gin-config;
description = "Gin provides a lightweight configuration framework for Python, based on dependency injection.";
license = licenses.asl20;
2018-11-03 11:06:16 +00:00
maintainers = with maintainers; [ jethro ];
2018-11-03 09:24:30 +00:00
};
}