···
# See build-setupcfg/default.nix for documentation.
buildSetupcfg = import ../build-support/build-setupcfg self;
72
-
graphiteVersion = "1.0.2";
fetchPypi = makeOverridable( {format ? "setuptools", ... } @attrs:
fetchWheel = {pname, version, sha256, python ? "py2.py3", abi ? "none", platform ? "any"}:
···
django_tagging = callPackage ../development/python-modules/django_tagging { };
django_tagging_0_4_3 = if
4785
-
self.django != self.django_1_8
4783
+
self.django.version != "1.8.18"
then throw "django_tagging_0_4_3 should be build with django_1_8"
else (callPackage ../development/python-modules/django_tagging {}).overrideAttrs (attrs: rec {
4788
-
name = "django-tagging-0.4.3";
4786
+
pname = "django-tagging";
4787
+
version = "0.4.3";
4790
-
src = pkgs.fetchurl {
4791
-
url = "mirror://pypi/d/django-tagging/${name}.tar.gz";
4790
+
inherit pname version;
sha256 = "0617azpmp6jpg3d88v2ir97qrc9aqcs2s9gyvv9bgf2cp55khxhs";
propagatedBuildInputs = with self; [ django ];
···
whichcraft = callPackage ../development/python-modules/whichcraft { };
15404
-
whisper = buildPythonPackage rec {
15405
-
name = "whisper-${version}";
15406
-
version = graphiteVersion;
15408
-
src = pkgs.fetchurl {
15409
-
url = "mirror://pypi/w/whisper/${name}.tar.gz";
15410
-
sha256 = "1v1bi3fl1i6p4z4ki692bykrkw6907dn3mfq0151f70lvi3zpns3";
15413
-
# error: invalid command 'test'
15417
-
homepage = http://graphite.wikidot.com/;
15418
-
description = "Fixed size round-robin style database";
15419
-
maintainers = with maintainers; [ rickynils offline ];
15403
+
whisper = callPackage ../development/python-modules/whisper { };
worldengine = buildPythonPackage rec {
name = "worldengine-${version}";
···
15471
-
carbon = buildPythonPackage rec {
15472
-
name = "carbon-${version}";
15473
-
version = graphiteVersion;
15475
-
disabled = isPy3k;
15477
-
src = pkgs.fetchurl {
15478
-
url = "mirror://pypi/c/carbon/${name}.tar.gz";
15479
-
sha256 = "142smpmgbnjinvfb6s4ijazish4vfgzyd8zcmdkh55y051fkixkn";
15482
-
propagatedBuildInputs = with self; [ whisper txamqp zope_interface twisted ];
15485
-
homepage = http://graphite.wikidot.com/;
15486
-
description = "Backend data caching and persistence daemon for Graphite";
15487
-
maintainers = with maintainers; [ rickynils offline ];
15488
-
license = licenses.asl20;
15453
+
carbon = callPackage ../development/python-modules/carbon { };
ujson = buildPythonPackage rec {
···
15619
-
graphite_web = if
15620
-
self.django != self.django_1_8
15621
-
|| self.django_tagging != self.django_tagging_0_4_3
15622
-
then throw "graphite_web should be build with django_1_8 and django_tagging_0_4_3"
15623
-
else buildPythonPackage rec {
15624
-
name = "graphite-web-${version}";
15625
-
disabled = isPy3k;
15626
-
version = graphiteVersion;
15628
-
src = pkgs.fetchurl rec {
15629
-
url = "mirror://pypi/g/graphite-web/${name}.tar.gz";
15630
-
sha256 = "0q8bwlj75jqyzmazfsi5sa26xl58ssa8wdxm2l4j0jqyn8xpfnmc";
15633
-
propagatedBuildInputs = with self; [
15634
-
django django_tagging whisper pycairo cairocffi
15635
-
ldap memcached pytz urllib3 scandir
15639
-
wrapProgram $out/bin/run-graphite-devel-server.py \
15640
-
--prefix PATH : ${pkgs.which}/bin
15643
-
preConfigure = ''
15644
-
# graphite is configured by storing a local_settings.py file inside the
15645
-
# graphite python package. Since that package is stored in the immutable
15646
-
# Nix store we can't modify it. So how do we configure graphite?
15648
-
# First of all we rename "graphite.local_settings" to
15649
-
# "graphite_local_settings" so that the settings are not looked up in the
15650
-
# graphite package anymore. Secondly we place a directory containing a
15651
-
# graphite_local_settings.py on the PYTHONPATH in the graphite module
15652
-
# <nixpkgs/nixos/modules/services/monitoring/graphite.nix>.
15653
-
substituteInPlace webapp/graphite/settings.py \
15654
-
--replace "graphite.local_settings" " graphite_local_settings"
15656
-
substituteInPlace webapp/graphite/settings.py \
15657
-
--replace "join(WEBAPP_DIR, 'content')" "join('$out', 'webapp', 'content')"
15660
-
# error: invalid command 'test'
15664
-
homepage = http://graphite.wikidot.com/;
15665
-
description = "Enterprise scalable realtime graphing";
15666
-
maintainers = with maintainers; [ rickynils offline ];
15581
+
graphite-web = callPackage ../development/python-modules/graphite-web { };
graphite_api = callPackage ../development/python-modules/graphite-api { };
15672
-
graphite_beacon = buildPythonPackage rec {
15673
-
name = "graphite_beacon-0.27.0";
15675
-
src = pkgs.fetchurl {
15676
-
url = "mirror://pypi/g/graphite_beacon/${name}.tar.gz";
15677
-
sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks";
15680
-
propagatedBuildInputs = [ self.tornado self.pyyaml self.funcparserlib ];
15682
-
preBuild = "> requirements.txt";
15685
-
description = "A simple alerting application for Graphite metrics";
15686
-
homepage = https://github.com/klen/graphite-beacon;
15687
-
maintainers = [ maintainers.offline ];
15688
-
license = licenses.mit;
15692
-
graphite_influxdb = buildPythonPackage rec {
15693
-
name = "graphite-influxdb-0.3";
15695
-
src = pkgs.fetchgit {
15696
-
url = "https://github.com/vimeo/graphite-influxdb.git";
15697
-
rev = "2273d12a24e1d804685a36debfd4224b7416b62f";
15698
-
sha256 = "1v00fgrnmsd9c0ahggyw9sia5m7dyzz16i5pa4vy6w2sbfyrmm4v";
15701
-
propagatedBuildInputs = with self; [ influxdb graphite_api ];
15703
-
passthru.moduleName = "graphite_influxdb.InfluxdbFinder";
15706
-
description = "An influxdb backend for Graphite-web and graphite-api";
15707
-
homepage = https://github.com/vimeo/graphite-influxdb;
15708
-
license = licenses.asl20;
15712
-
graphite_pager = buildPythonPackage rec {
15713
-
name = "graphite-pager-${version}";
15714
-
version = "2bbfe91220ec1e0ca1cdf4b5564386482a44ed7d";
15716
-
src = pkgs.fetchgit {
15717
-
url = "https://github.com/offlinehacker/graphite-pager.git";
15718
-
sha256 = "0ylal0vkc2yrjvssfz1gls84yk9vkvvkx3pyv4lx15jm2qqzdmxd";
15722
-
buildInputs = with self; [ nose mock ];
15723
-
propagatedBuildInputs = with self; [
15724
-
jinja2 pyyaml redis requests pagerduty
15725
-
python-simple-hipchat pushbullet
15728
-
patchPhase = "> requirements.txt";
15729
-
checkPhase = "nosetests";
15585
+
graphite_beacon = callPackage ../development/python-modules/graphite_beacon { };
15732
-
description = "A simple alerting application for Graphite metrics";
15733
-
homepage = https://github.com/seatgeek/graphite-pager;
15734
-
maintainers = with maintainers; [ offline ];
15735
-
license = licenses.bsd2;
15587
+
influxgraph = callPackage ../development/python-modules/influxgraph { };
15589
+
graphitepager = callPackage ../development/python-modules/graphitepager { };
pyspotify = buildPythonPackage rec {
name = "pyspotify-${version}";