depot/third_party/nixpkgs/pkgs/development/python-modules/omegaconf/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
736 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
, pytest, pytestrunner, pyyaml, six, pathlib2, isPy27 }:
buildPythonPackage rec {
pname = "omegaconf";
version = "1.4.1";
src = fetchFromGitHub {
owner = "omry";
repo = pname;
rev = version;
sha256 = "1vpcdjlq54pm8xmkv2hqm2n1ysvz2a9iqgf55x0w6slrb4595cwb";
};
checkInputs = [ pytest ];
buildInputs = [ pytestrunner ];
propagatedBuildInputs = [ pyyaml six ] ++ lib.optional isPy27 pathlib2;
meta = with lib; {
description = "A framework for configuring complex applications";
homepage = "https://github.com/omry/omegaconf";
license = licenses.free; # prior bsd license (1988)
maintainers = with maintainers; [ bcdarwin ];
};
}