summaryrefslogtreecommitdiff
path: root/pkgs/overlay.nix
blob: b3876d5896de4578ea7d5a26630f38d72952ff68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{ inputs, ... }:
self: super:

let
  unstable = inputs.nixpkgs-unstable.legacyPackages.${self.system};
  oldstable = inputs.nixpkgs-oldstable.legacyPackages.${self.system};
  crs-tools = self.callPackage ./crs-tools.nix {};
in
{
  galmon-core = self.callPackage (import ./galmon.nix {}) {};
  galmon-full = self.callPackage (import ./galmon.nix { buildAll = true; }) {};

  glitchtip = (self.callPackage ./glitchtip.nix {
    python = super.python310.override ({
      packageOverrides = self: super: {
        django = super.django_4;
      };
    });
  });

  almanac = self.rustPlatform.buildRustPackage rec {
    pname = "almanac";
    version = "git";
    src = inputs.almanac.outPath;
    cargoLock.lockFile = "${src}/Cargo.lock";
  };

  kijetesantakaluotokieni = self.rustPlatform.buildRustPackage rec {
    pname = "kijetesantakaluotokieni";
    version = "git";
    src = self.fetchgit {
      url = "https://git.2ki.xyz/spiders/kijetesantakaluotokieni";
      rev = "7d9ea828f42ffd9fb6826ea4cbf7677b08222064";
      sha256 = "sha256-PEp+K5mRNUR6yWLrpGpiX8qvaPQIibA17NQwXUiC2lk=";
    };
    cargoLock.lockFile = "${src}/Cargo.lock";
  };

  showrt = self.rustPlatform.buildRustPackage rec {
    pname = "showrt";
    version = "git";
    src = inputs.showrt;
    nativeBuildInputs = [ self.protobuf ];
    cargoLock.lockFile = "${src}/Cargo.lock";
  };

  isabelle-utils = self.rustPlatform.buildRustPackage rec {
    pname = "isabelle-utils";
    version = "git";
    src = inputs.isabelle-utils;
    cargoLock.lockFile = "${src}/Cargo.lock";
    checkPhase = "
      echo skipping tests
    ";
  };

  isabat = import "${inputs.isabelle-utils}/isabat.nix" {
    pkgs = self;
    isabelle-rust-utils = self.isabelle-utils;
  };

  crs-tracker = crs-tools.tracker;
  crs-php = crs-tools.php;

  travelynx = self.callPackage ./travelynx.nix {};

  beamPackages = super.beam.packagesWith self.erlang;
  elixir = self.beamPackages.elixir_1_14;
  erlang = super.erlang_nox;

  bahnhof-name = let
    inherit (self.callPackage "${inputs.nix-gleam.outPath}/builder/default.nix" {}) buildGleamApplication;
  in buildGleamApplication {
    version = "0.1";
    pname = "bahnhof.name";
    src = inputs.bahnhof-name;
  };

  mu = oldstable.mu;
}