mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
nix-update-script,
|
|
fetchFromGitHub,
|
|
}:
|
|
let
|
|
originalDrv = fetchFromGitHub {
|
|
owner = "Aylur";
|
|
repo = "astal";
|
|
rev = "fd94e333c8bd45557291c805f1df79d5f787d590";
|
|
hash = "sha256-flVUft590tsDX9z97O4DzVFg6zvOOmGeYhPeDdaP1DI=";
|
|
};
|
|
in
|
|
originalDrv.overrideAttrs (
|
|
final: prev: {
|
|
name = "${final.pname}-${final.version}"; # fetchFromGitHub already defines name
|
|
pname = "astal-source";
|
|
version = "0-unstable-2026-07-19";
|
|
|
|
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; [ PerchunPak ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
|
|
passthru = prev.passthru // {
|
|
updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
|
|
src = originalDrv;
|
|
};
|
|
}
|
|
)
|