2014-10-25 23:17:26 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2015-01-25 17:52:46 +00:00
|
|
|
stdenv.mkDerivation {
|
2016-07-11 17:11:31 +01:00
|
|
|
name = "rcm-1.3.0";
|
2014-10-25 23:17:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-07-11 17:11:31 +01:00
|
|
|
url = https://thoughtbot.github.io/rcm/dist/rcm-1.3.0.tar.gz;
|
|
|
|
sha256 = "ddcf638b367b0361d8e063c29fd573dbe1712d1b83e8d5b3a868e4aa45ffc847";
|
2014-10-25 23:17:26 +01:00
|
|
|
};
|
|
|
|
|
2015-01-25 17:52:46 +00:00
|
|
|
patches = [ ./fix-rcmlib-path.patch ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
for f in bin/*.in; do
|
|
|
|
substituteInPlace $f --subst-var-by rcm $out
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-10-25 23:17:26 +01:00
|
|
|
description = "Management Suite for Dotfiles";
|
|
|
|
homepage = https://github.com/thoughtbot/rcm;
|
2015-01-25 17:52:46 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ malyn ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; unix;
|
2014-10-25 23:17:26 +01:00
|
|
|
};
|
2015-01-25 17:52:46 +00:00
|
|
|
}
|