libb64: 1.2 -> 2.0.0.1

This commit is contained in:
Pierre Bourdon 2021-10-02 05:28:35 +02:00
parent ff452174fc
commit b55e71ba9a
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -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/