diff options
author | Tim Keller <tjkeller.xyz> | 2024-11-21 21:21:19 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-11-21 21:21:19 -0600 |
commit | d0faef2f53e2e5195b2acc7cc7bba898bd7cd05b (patch) | |
tree | 556f95a3d1cb692fcd868b8364a0d96e3bb9bc22 /derivations/pavolctld | |
parent | c32d7c6aa8b3680efe1a7271d2dcd7d3b40f3a7a (diff) | |
download | nixos-d0faef2f53e2e5195b2acc7cc7bba898bd7cd05b.tar.xz nixos-d0faef2f53e2e5195b2acc7cc7bba898bd7cd05b.zip |
update lowbat and pavolctld derivations to use tagged releases and dl tar files instead of using git
Diffstat (limited to 'derivations/pavolctld')
-rw-r--r-- | derivations/pavolctld/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/derivations/pavolctld/default.nix b/derivations/pavolctld/default.nix index 9f6471d..c78e3fe 100644 --- a/derivations/pavolctld/default.nix +++ b/derivations/pavolctld/default.nix @@ -1,13 +1,12 @@ { pkgs ? import <nixpkgs> {} }: -pkgs.stdenv.mkDerivation { +pkgs.stdenv.mkDerivation rec { pname = "pavolctld"; - version = "1.0"; + version = "1.0.0"; - src = pkgs.fetchgit { - url = "https://git.tjkeller.xyz/pavolctld"; - rev = "079cf8b96a629313ebf1f579601aadccd0e6c424"; - sha256 = "sha256-UIWh+Um/wdUKslyai5685wm6uMSl+zwwDsom6OL1CyU="; + src = pkgs.fetchzip { + url = "https://git.tjkeller.xyz/${pname}/snapshot/${pname}-${version}.tar.xz"; + sha256 = "sha256-eJ5njP2wu2kxsNgDdULOaATJJarLh+LkM5M9+kujRt4="; }; buildInputs = [ pkgs.libpulseaudio ]; |