unxwb: init at 0.3.6
This commit is contained in:
parent
c74c196152
commit
c58908483f
|
@ -30,6 +30,8 @@
|
|||
|
||||
textidote = callPackage ./textidote { };
|
||||
|
||||
unxwb = callPackage ./unxwb { };
|
||||
|
||||
VisiCut = callPackage ./VisiCut { };
|
||||
};
|
||||
} // flake-utils.lib.eachDefaultSystem (system:
|
||||
|
@ -58,6 +60,7 @@
|
|||
cyanrip
|
||||
deemix
|
||||
textidote
|
||||
unxwb
|
||||
VisiCut;
|
||||
};
|
||||
|
||||
|
|
39
unxwb/default.nix
Normal file
39
unxwb/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchzip, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "unxwb";
|
||||
version = "0.3.6";
|
||||
|
||||
src = fetchzip {
|
||||
# upstream URL (https://aluigi.altervista.org/papers/unxwb.zip) is not stable
|
||||
url = "https://web.archive.org/web/20210401211235if_/http://aluigi.altervista.org/papers/unxwb.zip";
|
||||
sha256 = "1i7m7dacfnjs22d0vk49ljmszxcvrqfr6x9brpp0qfggvqdfaw55";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
gcc -lz -I. -O3 -o ${pname} ${pname}.c
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ${pname} $out/bin/${pname}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A tool for extracting the data contained in XWB archives";
|
||||
homepage = "https://aluigi.altervista.org/papers.htm";
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue