Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 86 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{ lib, buildPythonPackage, pythonAtLeast, fetchFromGitHub,
# build-system setuptools,
# propagates distutils, pyyaml, standard-pipes,
# optionals boto3, botocore, google-cloud-dataproc, google-cloud-logging, google-cloud-storage, python-rapidjson, simplejson, ujson,
# tests pyspark, unittestCheckHook, warcio,}:
buildPythonPackage rec { pname = "mrjob"; version = "0.7.4"; pyproject = true;
src = fetchFromGitHub { owner = "Yelp"; repo = "mrjob"; tag = "v${version}"; hash = "sha256-Yp4yUx6tkyGB622I9y+AWK2AkIDVGKQPMM+LtB/M3uo="; };
build-system = [ setuptools ];
dependencies = [ distutils pyyaml standard-pipes ];
optional-dependencies = { aws = [ boto3 botocore ]; google = [ google-cloud-dataproc google-cloud-logging google-cloud-storage ]; rapidjson = [ python-rapidjson ]; simplejson = [ simplejson ]; ujson = [ ujson ]; };
doCheck = false; # failing tests
nativeCheckInputs = [ pyspark unittestCheckHook warcio ] ++ lib.flatten (builtins.attrValues optional-dependencies);
unittestFlagsArray = [ "-v" ];
meta = with lib; { changelog = "https://github.com/Yelp/mrjob/blob/v${version}/CHANGES.txt"; description = "Run MapReduce jobs on Hadoop or Amazon Web Services"; homepage = "https://github.com/Yelp/mrjob"; license = licenses.asl20; maintainers = [ ]; };}