39 lines
773 B
Nix
39 lines
773 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
astal = {
|
|
url = "github:aylur/astal";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
astal,
|
|
}: let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
packages.${system}.default = pkgs.stdenv.mkDerivation {
|
|
name = "Astal Applauncher";
|
|
src = ./.;
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
gobject-introspection
|
|
dart-sass
|
|
];
|
|
|
|
buildInputs = [
|
|
astal.packages.${system}.io
|
|
astal.packages.${system}.astal3
|
|
astal.packages.${system}.battery
|
|
# add extra packages
|
|
];
|
|
};
|
|
};
|
|
}
|