summaryrefslogtreecommitdiff
path: root/derivations/lowbat/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'derivations/lowbat/default.nix')
-rw-r--r--derivations/lowbat/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/derivations/lowbat/default.nix b/derivations/lowbat/default.nix
index 2d699a2..02ff111 100644
--- a/derivations/lowbat/default.nix
+++ b/derivations/lowbat/default.nix
@@ -1,13 +1,12 @@
{ pkgs ? import <nixpkgs> {} }:
-pkgs.stdenv.mkDerivation {
+pkgs.stdenv.mkDerivation rec {
pname = "lowbat";
- version = "1.0";
+ version = "1.2.1";
- src = pkgs.fetchgit {
- url = "https://git.tjkeller.xyz/lowbat";
- rev = "17e0bbaecb917b7cb42453afa9cd7e80e092c087";
- sha256 = "sha256-wh1/QZmbVcEsbCYJxzcswN2QFjO5qkrJCQsba3wf1h8=";
+ src = pkgs.fetchzip {
+ url = "https://git.tjkeller.xyz/${pname}/snapshot/${pname}-${version}.tar.xz";
+ sha256 = "sha256-xsUHdmicHX/fQQgojVjWfzI82e4NezkmlACOpdPxLE0=";
};
nativeBuildInputs = [ pkgs.pkg-config ];