summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes3
-rw-r--r--lib/wireplumber/flake.nix54
2 files changed, 3 insertions, 54 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..0b166ec
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+*.mjs linguist-language=TypeScript
+*.js linguist-language=TypeScript
+*.h linguist-vendored
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
- ];
- };
- };
- };
-}