summaryrefslogtreecommitdiff
path: root/notifd/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'notifd/flake.nix')
-rw-r--r--notifd/flake.nix54
1 files changed, 0 insertions, 54 deletions
diff --git a/notifd/flake.nix b/notifd/flake.nix
deleted file mode 100644
index b4e7a45..0000000
--- a/notifd/flake.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- description = "Notification daemon library and cli tool";
-
- inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
-
- outputs = {
- self,
- nixpkgs,
- }: let
- version = builtins.replaceStrings ["\n"] [""] (builtins.readFile ./version);
- system = "x86_64-linux";
- pkgs = import nixpkgs {inherit system;};
-
- nativeBuildInputs = with pkgs; [
- gobject-introspection
- meson
- pkg-config
- ninja
- vala
- ];
-
- buildInputs = with pkgs; [
- glib
- gdk-pixbuf
- json-glib
- ];
- in {
- packages.${system} = rec {
- default = notifd;
- notifd = pkgs.stdenv.mkDerivation {
- inherit nativeBuildInputs buildInputs;
- pname = "astal-notifd";
- version = version;
- src = ./.;
- outputs = ["out" "dev"];
- };
- };
-
- devShells.${system} = {
- default = pkgs.mkShell {
- inherit nativeBuildInputs buildInputs;
- };
- notifd = pkgs.mkShell {
- inherit nativeBuildInputs;
- buildInputs =
- buildInputs
- ++ [
- self.packages.${system}.default
- pkgs.gjs
- ];
- };
- };
- };
-}