3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/rcm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
673 B
Nix
Raw Normal View History

2021-01-22 13:27:48 +00:00
{ lib
, stdenv
, fetchurl
}:
2014-10-25 23:17:26 +01:00
2017-01-26 04:42:30 +00:00
stdenv.mkDerivation rec {
pname = "rcm";
2021-01-22 13:27:48 +00:00
version = "1.3.4";
2014-10-25 23:17:26 +01:00
src = fetchurl {
2017-01-26 04:42:30 +00:00
url = "https://thoughtbot.github.io/rcm/dist/rcm-${version}.tar.gz";
2021-01-22 13:27:48 +00:00
sha256 = "sha256-mxGuN0Sc9NI07G0TSEeb/tMlPauhH36ed0BZhltmwko=";
2014-10-25 23:17:26 +01:00
};
2017-01-26 04:42:30 +00:00
patches = [ ./fix-rcmlib-path.patch ];
postPatch = ''
for f in bin/*.in; do
substituteInPlace $f --subst-var-by rcm $out
done
'';
meta = with lib; {
homepage = "https://github.com/thoughtbot/rcm";
2021-01-22 13:27:48 +00:00
description = "Management Suite for Dotfiles";
license = licenses.bsd3;
2021-01-22 13:27:48 +00:00
maintainers = with maintainers; [ malyn AndersonTorres ];
platforms = with platforms; unix;
2014-10-25 23:17:26 +01:00
};
}