2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2020-06-20 22:05:11 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "fastmod";
|
2020-10-18 06:40:20 +02:00
|
|
|
version = "0.4.1";
|
2020-06-20 22:05:11 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "facebookincubator";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-18 06:40:20 +02:00
|
|
|
sha256 = "0nrh6h5imbpl7i0sqqm16x9ggazww5739vng1ay1v6sgbbs0a095";
|
2020-06-20 22:05:11 +02:00
|
|
|
};
|
|
|
|
|
2020-10-18 06:40:20 +02:00
|
|
|
cargoSha256 = "18bspi59vfnqijxgipmv2h6h5iy7qynpk1ph46yhjsnndjlxxcba";
|
2020-06-20 22:05:11 +02:00
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-06-20 22:05:11 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|