1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

dar: use fetchzip

It's cleaner to have the source files directly rather than the tarball. fetchzip
unpacks tarballs after fetching them.
This commit is contained in:
Atemu 2022-11-21 18:27:21 +01:00 committed by Rick van Schijndel
parent dade319b30
commit a50b78b535

View file

@ -2,7 +2,7 @@ args @ {
lib,
stdenv,
llvmPackages_12, # Anything newer than 11
fetchurl,
fetchzip,
which,
attr,
e2fsprogs,
@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
version = "2.7.7";
pname = "dar";
src = fetchurl {
src = fetchzip {
url = "mirror://sourceforge/dar/${pname}-${version}.tar.gz";
sha256 = "sha256-wD4vUu/WWi8Ee2C77aJGDLUlFl4b4y8RC2Dgzs4/LMk=";
sha256 = "sha256-643hU28Vl0QaqdKoKdQ1Z/j5drE59/jw5xkVO/g+MSw=";
};
outputs = [ "out" "dev" ];