LASzip2: switch to fetchFromGitHub
This commit is contained in:
parent
b58ebec4d8
commit
7b1ce7a5f9
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl, cmake }:
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.2.0";
|
version = "2.2.0";
|
||||||
pname = "LASzip";
|
pname = "LASzip";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/LASzip/LASzip/archive/v${version}.tar.gz";
|
owner = "LASzip";
|
||||||
sha256 = "b8e8cc295f764b9d402bc587f3aac67c83ed8b39f1cb686b07c168579c61fbb2";
|
repo = "LASzip";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-TXzse4oLjNX5R2xDR721iV+gW/rP5z3Zciv4OgxfeqA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
Loading…
Reference in a new issue