mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
pr-tracker: fetchurl -> fetchzip
The tarballs are dynamically generated by cgit, so we should use fetchzip (which extracts the tarball) to ensure determinism.
This commit is contained in:
parent
059348710f
commit
ed449a1f05
@ -1,6 +1,6 @@
|
||||
{ rustPlatform
|
||||
, lib
|
||||
, fetchurl
|
||||
, fetchzip
|
||||
, openssl
|
||||
, pkg-config
|
||||
, systemd
|
||||
@ -10,9 +10,9 @@ rustPlatform.buildRustPackage rec {
|
||||
pname = "pr-tracker";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
src = fetchzip {
|
||||
url = "https://git.qyliss.net/pr-tracker/snapshot/pr-tracker-${version}.tar.xz";
|
||||
sha256 = "sha256-Tru9DsitRQLiO4Ln70J9LvkEqcj2i4A+eArBvIhd/ls=";
|
||||
hash = "sha256-fUEmxD50Ymnql5vnDt8DUlIztAJ9XNeKxA+FLY68Fkw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "0q3ibxnzw8gngvrgfkv4m64dr411c511xkvb6j9k63vhy9vwarz7";
|
||||
|
Loading…
Reference in New Issue
Block a user