2021-01-22 14:27:48 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
}:
|
2014-10-26 00:17:26 +02:00
|
|
|
|
2017-01-26 05:42:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "rcm";
|
2021-01-22 14:27:48 +01:00
|
|
|
version = "1.3.4";
|
2014-10-26 00:17:26 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-01-26 05:42:30 +01:00
|
|
|
url = "https://thoughtbot.github.io/rcm/dist/rcm-${version}.tar.gz";
|
2021-01-22 14:27:48 +01:00
|
|
|
sha256 = "sha256-mxGuN0Sc9NI07G0TSEeb/tMlPauhH36ed0BZhltmwko=";
|
2014-10-26 00:17:26 +02:00
|
|
|
};
|
2017-01-26 05:42:30 +01:00
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/thoughtbot/rcm";
|
2021-01-22 14:27:48 +01:00
|
|
|
description = "Management Suite for Dotfiles";
|
2015-01-25 18:52:46 +01:00
|
|
|
license = licenses.bsd3;
|
2021-01-22 14:27:48 +01:00
|
|
|
maintainers = with maintainers; [ malyn AndersonTorres ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; unix;
|
2014-10-26 00:17:26 +02:00
|
|
|
};
|
2015-01-25 18:52:46 +01:00
|
|
|
}
|