summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorYves Fischer <yvesf+git@xapek.org>2022-08-25 23:35:20 +0200
committerYves Fischer <yvesf+git@xapek.org>2022-08-29 18:24:17 +0200
commitb96f94887953deeb6e5888bdb7114315016147e7 (patch)
treecbb8d2b347ccff4c7be33e08498442e3b85cbce5 /default.nix
parentefc84d128aa88a49516abf3e593ea41753f57729 (diff)
downloadbatteriewarner-b96f94887953deeb6e5888bdb7114315016147e7.tar.gz
batteriewarner-b96f94887953deeb6e5888bdb7114315016147e7.zip
simplify nix build configHEADmaster
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix21
1 files changed, 0 insertions, 21 deletions
diff --git a/default.nix b/default.nix
deleted file mode 100644
index a1c5718..0000000
--- a/default.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ pkgs ? (import <nixpkgs> { }) }:
-let
- rustPlatform = pkgs.rustPlatform;
- makeWrapper = pkgs.makeWrapper;
-in
-rustPlatform.buildRustPackage rec {
- name = "batteriewarner-${version}";
- version = "2017-09-15";
- src = ./.;
-
- cargoSha256 = "sha256:1rf1sckjpjwdvllx3aapw646wl522j9cn7zx4bah805d6ak9plls";
-
- 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;
- };
-}
-