diff options
author | Felix Buehler <account@buehler.rocks> | 2022-01-04 16:36:43 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-01-05 00:08:40 +0100 |
commit | 7b1ce7a5f91f439700dfed62274d7dfc334d293e (patch) | |
tree | 5e908a44ec77ea5035701e2e8fc93505dd41a7a3 /pkgs/development/libraries | |
parent | b58ebec4d8ade18ab18344062ba07c5c8bd3a482 (diff) |
LASzip2: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/LASzip/LASzip2.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/LASzip/LASzip2.nix b/pkgs/development/libraries/LASzip/LASzip2.nix index b080153826ad1..4f63dfe8059c8 100644 --- a/pkgs/development/libraries/LASzip/LASzip2.nix +++ b/pkgs/development/libraries/LASzip/LASzip2.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, fetchurl, cmake }: +{ lib, stdenv, fetchFromGitHub, cmake }: stdenv.mkDerivation rec { version = "2.2.0"; pname = "LASzip"; - src = fetchurl { - url = "https://github.com/LASzip/LASzip/archive/v${version}.tar.gz"; - sha256 = "b8e8cc295f764b9d402bc587f3aac67c83ed8b39f1cb686b07c168579c61fbb2"; + src = fetchFromGitHub { + owner = "LASzip"; + repo = "LASzip"; + rev = "v${version}"; + sha256 = "sha256-TXzse4oLjNX5R2xDR721iV+gW/rP5z3Zciv4OgxfeqA="; }; nativeBuildInputs = [ cmake ]; |