diff options
author | Aylur <[email protected]> | 2024-09-01 14:38:43 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 14:38:43 +0200 |
commit | 27c25b0e6070f291b33107a0bbfe5086b6d3f119 (patch) | |
tree | d7fb8c88882106ece414802023c5c64c28d5a1e5 /lib/wireplumber | |
parent | 3e3f045d650a839d21f7b649da7aa5c19bd2e38b (diff) |
add attributes
Diffstat (limited to 'lib/wireplumber')
-rw-r--r-- | lib/wireplumber/flake.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/lib/wireplumber/flake.nix b/lib/wireplumber/flake.nix deleted file mode 100644 index 96ffc6f..0000000 --- a/lib/wireplumber/flake.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - description = "Wrapper library for WirePlumber"; - - 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 - wireplumber - # json-glib - ]; - in { - packages.${system} = rec { - default = wireplumber; - wireplumber = pkgs.stdenv.mkDerivation { - inherit nativeBuildInputs buildInputs; - pname = "astal-wireplumber"; - version = version; - src = ./.; - outputs = ["out" "dev"]; - }; - }; - - devShells.${system} = { - default = pkgs.mkShell { - inherit nativeBuildInputs buildInputs; - }; - wireplumber = pkgs.mkShell { - inherit nativeBuildInputs; - buildInputs = - buildInputs - ++ [ - self.packages.${system}.default - pkgs.gjs - ]; - }; - }; - }; -} |