summaryrefslogtreecommitdiff
path: root/pkgs/overlay.nix
blob: 659517d857561a2bbbc1a19611aec67087282102 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{ inputs, ... }:
self: super:

let
  unstable = inputs.nixpkgs-unstable.legacyPackages.${self.system}; # { inherit (self) system; };
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;
      };
    });
  });

  typst = self.callPackage ./typst.nix {
    rust-bin =
      self.rust-bin;
  };

  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;
  };

  emacs29 = self.callPackage
    (import "${inputs.nixpkgs.outPath}/pkgs/applications/editors/emacs/generic.nix" {
      version = "29";
      sha256 = "sha256-eYROQSXqBV4ULUZOVe1C9G/5LLp7u8qTvqAf0cz62Dg=";
    }) {
      inherit (self.darwin.apple_sdk.frameworks) AppKit Carbon Cocoa IOKit OSAKit Quartz
        QuartzCore WebKit ImageCaptureCore GSS ImageIO;
      gconf = null;
      alsa-lib = null;
      gpm = null;
      libXaw = self.xorg.libXaw;
      inherit (self.darwin) sigtool;
      withPgtk = true;
      withX = false;
    };

  crs-tools = self.callPackage ./crs-tools.nix {};

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

  gleam = unstable.gleam;
  beamPackages = super.beam.packagesWith super.erlang_nox;

  bahnhof-name = (self.buildGleamApplication )
    {
    version = "0.1";
    pname = "bahnhof.name";
    src = inputs.bahnhof-name;
  };
}