confy: use fetchzip, for consistent hashes

This commit is contained in:
Doron Behar 2023-08-01 17:50:10 +03:00
parent 7965b589f3
commit c89298b854

View File

@ -1,6 +1,6 @@
{ blueprint-compiler { blueprint-compiler
, desktop-file-utils , desktop-file-utils
, fetchurl , fetchzip
, gobject-introspection , gobject-introspection
, gtk4 , gtk4
, lib , lib
@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
pname = "confy"; pname = "confy";
version = "0.7.0"; version = "0.7.0";
src = fetchurl { src = fetchzip {
url = "https://git.sr.ht/~fabrixxm/confy/archive/${version}.tar.gz"; url = "https://git.sr.ht/~fabrixxm/confy/archive/${version}.tar.gz";
hash = "sha256-ZvIzgCMDfUW9g+qmY0ZIUoEF0PeVmINjOPwilmFzWDk="; hash = "sha256-q8WASTNbiBuKb2tPQBmUL9ji60PRAPnYOTYxnUn0MAw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [