unfs3: 0.9.22 -> 0.10.0

Fixes the build.
This commit is contained in:
Adam Joseph 2022-11-14 21:44:56 +00:00 committed by GitHub
parent 9d84f4fe59
commit aa357fcf6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,27 @@
{ fetchurl, lib, stdenv, flex, bison }:
{ fetchFromGitHub
, lib
, stdenv
, flex
, bison
, autoreconfHook
, pkg-config
, libtirpc
}:
stdenv.mkDerivation rec {
pname = "unfs3";
version = "0.9.22";
version = "0.10.0";
src = fetchurl {
url = "mirror://sourceforge/unfs3/${pname}-${version}.tar.gz";
sha256 = "076zkyqkn56q0a8n3h65n1a68fknk4hrrp6mbhajq5s1wp5248j8";
src = fetchFromGitHub {
owner = "unfs3";
repo = pname;
rev = "refs/tags/${pname}-${version}";
hash = "sha256-5iAriIutBhwyZVS7AG2fnkrHOI7pNAKfYv062Cy0WXw=";
};
nativeBuildInputs = [ flex bison ];
nativeBuildInputs = [ flex bison autoreconfHook pkg-config ];
buildInputs = [ libtirpc ];
configureFlags = [ "--disable-shared" ];
@ -25,13 +37,16 @@ stdenv.mkDerivation rec {
server.
'';
homepage = "http://unfs3.sourceforge.net/";
# The old http://unfs3.sourceforge.net/ has a <meta>
# http-equiv="refresh" pointing here, so we can assume that
# whoever controls the old URL approves of the "unfs3" github
# account.
homepage = "https://unfs3.github.io/";
changelog = "https://raw.githubusercontent.com/unfs3/unfs3/unfs3-${version}/NEWS";
mainProgram = "unfsd";
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
maintainers = [ ];
# https://github.com/unfs3/unfs3/issues/13
broken = true;
};
}