Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 33 lines 1.0 kB view raw
1{ 2 lib, 3 nix-update-script, 4 fetchFromGitHub, 5}: 6(fetchFromGitHub { 7 owner = "Aylur"; 8 repo = "astal"; 9 rev = "dc0e5d37abe9424c53dcbd2506a4886ffee6296e"; 10 hash = "sha256-5WgfJAeBpxiKbTR/gJvxrGYfqQRge5aUDcGKmU1YZ1Q="; 11}).overrideAttrs 12 ( 13 final: prev: { 14 name = "${final.pname}-${final.version}"; # fetchFromGitHub already defines name 15 pname = "astal-source"; 16 version = "0-unstable-2025-03-21"; 17 18 meta = prev.meta // { 19 description = "Building blocks for creating custom desktop shells (source)"; 20 longDescription = '' 21 Please don't use this package directly, use one of subpackages in 22 `astal` namespace. This package is just a `fetchFromGitHub`, which is 23 reused between all subpackages. 24 ''; 25 maintainers = with lib.maintainers; [ perchun ]; 26 platforms = lib.platforms.linux; 27 }; 28 29 passthru = prev.passthru // { 30 updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; 31 }; 32 } 33 )