2014-10-26 00:17:26 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2015-01-25 18:52:46 +01:00
|
|
|
stdenv.mkDerivation {
|
2014-10-26 00:17:26 +02:00
|
|
|
name = "rcm-1.2.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://thoughtbot.github.io/rcm/dist/rcm-1.2.3.tar.gz;
|
|
|
|
sha256 = "0gwpclbc152jkclj3w83s2snx3dcgljwr75q1z8czl3yar7d8bsh";
|
|
|
|
};
|
|
|
|
|
2015-01-25 18:52:46 +01: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-26 00:17:26 +02:00
|
|
|
description = "Management Suite for Dotfiles";
|
|
|
|
homepage = https://github.com/thoughtbot/rcm;
|
2015-01-25 18:52:46 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ malyn ];
|
2014-10-26 00:17:26 +02:00
|
|
|
};
|
2015-01-25 18:52:46 +01:00
|
|
|
}
|