33 lines
659 B
Nix
33 lines
659 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
stdenv,
|
|
autoPatchelfHook,
|
|
libgcc,
|
|
...
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "morfeusz";
|
|
version = "2025.11.16";
|
|
|
|
src = builtins.fetchTarball {
|
|
url = "http://download.sgjp.pl/morfeusz/20251116/Linux/manylinux_2_28/64/morfeusz2-1.99.12.sgjp.20251116-Linux-amd64.tar.gz";
|
|
sha256 = "sha256:09dya2pjbvh9i8d7fgcl4hgmmf9x3vwgiq7fm3n5b4c8ic495wgh";
|
|
};
|
|
|
|
buildInputs = [
|
|
autoPatchelfHook
|
|
|
|
libgcc
|
|
stdenv.cc.cc.lib
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/{bin,lib,include};
|
|
|
|
install -Dm 755 $src/bin/* $out/bin/;
|
|
install -Dm 755 $src/lib/* $out/lib/;
|
|
install -Dm 755 $src/include/* $out/include/;
|
|
'';
|
|
}
|