Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 nix-update-script, 4 fetchFromGitHub, 5}: 6let 7 originalDrv = fetchFromGitHub { 8 owner = "Aylur"; 9 repo = "astal"; 10 rev = "2c5eb54f39e1710c6e2c80915a240978beb3269a"; 11 hash = "sha256-XULTToDUkIshNXEO+YP2mAHdQv8bxWDvKjbamBfOC8E="; 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-07-13"; 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; [ perchun ]; 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)