diff options
author | Yves Fischer <yvesf+git@xapek.org> | 2022-08-25 22:55:03 +0200 |
---|---|---|
committer | Yves Fischer <yvesf+git@xapek.org> | 2022-08-25 22:55:03 +0200 |
commit | efc84d128aa88a49516abf3e593ea41753f57729 (patch) | |
tree | 7cf53a9745c1781dea80f073a7f5166e372d49f9 /default.nix | |
parent | 64f56e8acd6913a60dcad7e6203f6984b0d01ee9 (diff) | |
download | batteriewarner-efc84d128aa88a49516abf3e593ea41753f57729.tar.gz batteriewarner-efc84d128aa88a49516abf3e593ea41753f57729.zip |
apply nixpkgs-fmt on .nix files
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/default.nix b/default.nix index 6d329d8..a1c5718 100644 --- a/default.nix +++ b/default.nix @@ -1,21 +1,21 @@ -{ pkgs ? (import <nixpkgs> {}) }: +{ pkgs ? (import <nixpkgs> { }) }: let rustPlatform = pkgs.rustPlatform; makeWrapper = pkgs.makeWrapper; -in - rustPlatform.buildRustPackage rec { - name = "batteriewarner-${version}"; - version = "2017-09-15"; - src = ./.; +in +rustPlatform.buildRustPackage rec { + name = "batteriewarner-${version}"; + version = "2017-09-15"; + src = ./.; - cargoSha256 = "sha256:1rf1sckjpjwdvllx3aapw646wl522j9cn7zx4bah805d6ak9plls"; + cargoSha256 = "sha256:1rf1sckjpjwdvllx3aapw646wl522j9cn7zx4bah805d6ak9plls"; - buildInputs = [ makeWrapper ]; + buildInputs = [ makeWrapper ]; - meta = { - description = "Display low battery status using the power led of Thinkpads X-series"; - homepage = https://github.com/yvesf/batteriewarner; - platforms = pkgs.lib.platforms.all; - }; - } + meta = { + description = "Display low battery status using the power led of Thinkpads X-series"; + homepage = https://github.com/yvesf/batteriewarner; + platforms = pkgs.lib.platforms.all; + }; +} |