mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
29 lines
702 B
Nix
29 lines
702 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "fastmod";
|
|
version = "0.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "facebookincubator";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0nrh6h5imbpl7i0sqqm16x9ggazww5739vng1ay1v6sgbbs0a095";
|
|
};
|
|
|
|
cargoSha256 = "18bspi59vfnqijxgipmv2h6h5iy7qynpk1ph46yhjsnndjlxxcba";
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|