diff options
author | Jingjing Duan <duanjingjing@gmail.com> | 2020-06-20 13:05:11 -0700 |
---|---|---|
committer | Jingjing Duan <duanjingjing@gmail.com> | 2020-06-21 13:27:47 -0700 |
commit | 5f48a53f6912fa27255dc90f1461748ae11b0d72 (patch) | |
tree | 908071e5b0b52585c471a0e1acbe9061b407f052 /pkgs/tools/text/fastmod | |
parent | d9c5a0a13e18ef2fa84339449caf77465b5787af (diff) | |
download | nixpkgs-5f48a53f6912fa27255dc90f1461748ae11b0d72.tar nixpkgs-5f48a53f6912fa27255dc90f1461748ae11b0d72.tar.gz nixpkgs-5f48a53f6912fa27255dc90f1461748ae11b0d72.tar.bz2 nixpkgs-5f48a53f6912fa27255dc90f1461748ae11b0d72.tar.lz nixpkgs-5f48a53f6912fa27255dc90f1461748ae11b0d72.tar.xz nixpkgs-5f48a53f6912fa27255dc90f1461748ae11b0d72.tar.zst nixpkgs-5f48a53f6912fa27255dc90f1461748ae11b0d72.zip |
fastmod: init at 0.4.0
Diffstat (limited to 'pkgs/tools/text/fastmod')
-rw-r--r-- | pkgs/tools/text/fastmod/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/text/fastmod/default.nix b/pkgs/tools/text/fastmod/default.nix new file mode 100644 index 00000000000..4ea24328b9c --- /dev/null +++ b/pkgs/tools/text/fastmod/default.nix @@ -0,0 +1,29 @@ +{ stdenv +, fetchFromGitHub +, rustPlatform +, Security +}: + +rustPlatform.buildRustPackage rec { + pname = "fastmod"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "facebookincubator"; + repo = pname; + rev = "v${version}"; + sha256 = "0089a17h0wgan3fs6x1la35lzjs1pib7p81wqkh3zcwvx8ffa8z8"; + }; + + cargoSha256 = "02nkxjwfiljndmi0pv98chfsw9vmjzgmp5r14mchpayp4943qk9m"; + + buildInputs = stdenv.lib.optional stdenv.isDarwin Security; + + meta = with stdenv.lib; { + description = "A utility that makes sweeping changes to large, shared code bases"; + homepage = "https://github.com/facebookincubator/fastmod"; + license = licenses.asl20; + maintainers = with maintainers; [ jduan ]; + platforms = platforms.all; + }; +} |