summaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/astal/source.nix
blob: 29fd220716d1a4fbc10e6a9ffc8b4f70a1861d06 (about) (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
{
  lib,
  nix-update-script,
  fetchFromGitHub,
}:
(fetchFromGitHub {
  owner = "Aylur";
  repo = "astal";
  rev = "dc0e5d37abe9424c53dcbd2506a4886ffee6296e";
  hash = "sha256-5WgfJAeBpxiKbTR/gJvxrGYfqQRge5aUDcGKmU1YZ1Q=";
}).overrideAttrs
  (
    final: prev: {
      name = "${final.pname}-${final.version}"; # fetchFromGitHub already defines name
      pname = "astal-source";
      version = "0-unstable-2025-03-21";

      meta = prev.meta // {
        description = "Building blocks for creating custom desktop shells (source)";
        longDescription = ''
          Please don't use this package directly, use one of subpackages in
          `astal` namespace. This package is just a `fetchFromGitHub`, which is
          reused between all subpackages.
        '';
        maintainers = with lib.maintainers; [ perchun ];
        platforms = lib.platforms.linux;
      };

      passthru = prev.passthru // {
        updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
      };
    }
  )