Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 753 B view raw
1{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder 2, pytest, pytestrunner, pyyaml, six, pathlib2, isPy27 }: 3 4buildPythonPackage rec { 5 pname = "omegaconf"; 6 version = "1.4.1"; 7 8 src = fetchFromGitHub { 9 owner = "omry"; 10 repo = pname; 11 rev = version; 12 sha256 = "1vpcdjlq54pm8xmkv2hqm2n1ysvz2a9iqgf55x0w6slrb4595cwb"; 13 }; 14 15 checkInputs = [ pytest ]; 16 buildInputs = [ pytestrunner ]; 17 propagatedBuildInputs = [ pyyaml six ] ++ stdenv.lib.optional isPy27 pathlib2; 18 19 meta = with stdenv.lib; { 20 description = "A framework for configuring complex applications"; 21 homepage = "https://github.com/omry/omegaconf"; 22 license = licenses.free; # prior bsd license (1988) 23 maintainers = with maintainers; [ bcdarwin ]; 24 }; 25}