Merge pull request #140228 from delroth/libb64-2.0.0.1
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libb64";
|
||||
version = "1.2";
|
||||
version = "2.0.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.draios.com/dependencies/libb64-1.2.src.zip";
|
||||
sha256 = "1lxzi6v10qsl2r6633dx0zwqyvy0j19nmwclfd0d7qybqmhqsg9l";
|
||||
src = fetchFromGitHub {
|
||||
owner = "libb64";
|
||||
repo = "libb64";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9loDftr769qnIi00MueO86kjha2EiG9pnCLogp0Iq3c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out $out/lib $out/bin $out/include
|
||||
cp -r include/* $out/include/
|
||||
|
||||
Reference in New Issue
Block a user