Created
January 17, 2021 16:29
-
-
Save mausch/4de13dc3e3a15813461f8c7fb57e39d1 to your computer and use it in GitHub Desktop.
Nix package for Facebook's StarSpace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? (import (fetchTarball https://github.com/NixOS/nixpkgs/archive/e298629fec0fe6ffbd6e30dcb1fc4718bc807cb4.tar.gz) {})}: | |
with pkgs; | |
stdenv.mkDerivation { | |
pname = "starspace"; | |
version = "8aee0a950aa607c023e5c91cff518bec335b5df5"; | |
nativeBuildInputs = [ | |
autoPatchelfHook | |
]; | |
buildInputs = [ | |
boost163 | |
]; | |
src = fetchurl { | |
url = https://github.com/facebookresearch/StarSpace/archive/8aee0a950aa607c023e5c91cff518bec335b5df5.tar.gz; | |
sha256 = "00kcjkj34qb0g6xccihhnxa977y4waa30vadq7fg4qd6dlsi0kzs"; | |
}; | |
installPhase = '' | |
mkdir -p $out/bin | |
mv starspace $out/bin | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NixOS/nixpkgs#109651