Created
September 17, 2020 20:03
-
-
Save kloenk/ffd33c3190ed08d06b7c01e9d9fde9d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let | |
pkgs = import <nixpkgs> { }; | |
crate = pkgs.fetchurl { | |
url = "https://crates.io/api/v1/crates/aho-corasick/0.7.13/download"; | |
sha256 = "043164d8ba5c4c3035fec9bbee8647c0261d788f3474306f93bb65901cae0e86"; | |
name = "aho-corasick.crate"; | |
}; | |
in pkgs.runCommandNoCC "aho-corasick" { } '' | |
mkdir -p $out | |
tar xvf ${crate} -C $out | |
'' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment