diff options
author | Aylur <[email protected]> | 2024-09-01 03:25:38 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 03:25:38 +0200 |
commit | 95b940664619aae6498e05aaa48c08346ec4aeff (patch) | |
tree | a1ab3ea6339964c7dc8ec132f11b587ce037f64d /flake.nix | |
parent | bc436ccae8efe1ed60a1180d1b8b40d729a368a6 (diff) |
move to monorepo
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index ba1280b..0000000 --- a/flake.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - description = "DBus proxy library for upower daemon devices"; - - 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 - ]; - in { - packages.${system} = rec { - default = battery; - battery = pkgs.stdenv.mkDerivation { - inherit nativeBuildInputs buildInputs; - pname = "astal-battery"; - version = version; - src = ./.; - outputs = ["out" "dev"]; - }; - }; - - devShells.${system} = { - default = pkgs.mkShell { - inherit nativeBuildInputs buildInputs; - }; - battery = pkgs.mkShell { - inherit nativeBuildInputs; - buildInputs = buildInputs ++ [ - self.packages.${system}.default - pkgs.gjs - ]; - }; - }; - }; -} |