depot/third_party/nixpkgs/pkgs/tools/misc/rcm/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
659 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "rcm";
version = "1.3.3";
src = fetchurl {
url = "https://thoughtbot.github.io/rcm/dist/rcm-${version}.tar.gz";
sha256 = "1bqk7rrp1ckzvsvl9wghsr77m8xl3a7yc5gqdsisz492dx2j8mck";
};
patches = [ ./fix-rcmlib-path.patch ];
postPatch = ''
for f in bin/*.in; do
substituteInPlace $f --subst-var-by rcm $out
done
'';
meta = with stdenv.lib; {
description = "Management Suite for Dotfiles";
homepage = "https://github.com/thoughtbot/rcm";
license = licenses.bsd3;
maintainers = with maintainers; [ malyn ];
platforms = with platforms; unix;
};
}