nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 nix-update-script,
4 fetchFromGitHub,
5}:
6let
7 originalDrv = fetchFromGitHub {
8 owner = "Aylur";
9 repo = "astal";
10 rev = "7d1fac8a4b2a14954843a978d2ddde86168c75ef";
11 hash = "sha256-Jh4VtPcK2Ov+RTcV9FtyQRsxiJmXFQGfqX6jjM7/mgc=";
12 };
13in
14originalDrv.overrideAttrs (
15 final: prev: {
16 name = "${final.pname}-${final.version}"; # fetchFromGitHub already defines name
17 pname = "astal-source";
18 version = "0-unstable-2025-11-26";
19
20 meta = prev.meta // {
21 description = "Building blocks for creating custom desktop shells (source)";
22 longDescription = ''
23 Please don't use this package directly, use one of subpackages in
24 `astal` namespace. This package is just a `fetchFromGitHub`, which is
25 reused between all subpackages.
26 '';
27 maintainers = with lib.maintainers; [ PerchunPak ];
28 platforms = lib.platforms.linux;
29 };
30
31 passthru = prev.passthru // {
32 updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
33 src = originalDrv;
34 };
35 }
36)