mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 13:29:00 +02:00
finalfrontier: init at 0.9.3
This commit is contained in:
parent
c6e52f2fd3
commit
4dd9423b05
|
@ -0,0 +1,52 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, installShellFiles
|
||||||
|
, pkg-config
|
||||||
|
, libiconv
|
||||||
|
, openssl
|
||||||
|
, Security
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "finalfrontier";
|
||||||
|
version = "0.9.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "finalfusion";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1mb8m1iabaikjc1kn8n6z3zlp50gxm5dgpfvhh9pc4ys63ymcy09";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "138dlqjza98x1m6igi4xkyypl0mfplvzkqk63bbna0vkma8y66gw";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
installShellFiles
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
libiconv
|
||||||
|
Security
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage man/*.1
|
||||||
|
|
||||||
|
# Install shell completions
|
||||||
|
for shell in bash fish zsh; do
|
||||||
|
$out/bin/finalfrontier completions $shell > finalfrontier.$shell
|
||||||
|
done
|
||||||
|
installShellCompletion finalfrontier.{bash,fish,zsh}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Utility for training word and subword embeddings";
|
||||||
|
homepage = "https://github.com/finalfusion/finalfrontier/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ danieldk ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -19616,6 +19616,10 @@ in
|
||||||
|
|
||||||
FIL-plugins = callPackage ../applications/audio/FIL-plugins { };
|
FIL-plugins = callPackage ../applications/audio/FIL-plugins { };
|
||||||
|
|
||||||
|
finalfrontier = callPackage ../applications/science/machine-learning/finalfrontier {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
flacon = libsForQt5.callPackage ../applications/audio/flacon { };
|
flacon = libsForQt5.callPackage ../applications/audio/flacon { };
|
||||||
|
|
||||||
flexget = callPackage ../applications/networking/flexget { };
|
flexget = callPackage ../applications/networking/flexget { };
|
||||||
|
|
Loading…
Reference in a new issue