lol
at 15.09-beta 25 lines 593 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation { 4 name = "rcm-1.2.3"; 5 6 src = fetchurl { 7 url = https://thoughtbot.github.io/rcm/dist/rcm-1.2.3.tar.gz; 8 sha256 = "0gwpclbc152jkclj3w83s2snx3dcgljwr75q1z8czl3yar7d8bsh"; 9 }; 10 11 patches = [ ./fix-rcmlib-path.patch ]; 12 13 postPatch = '' 14 for f in bin/*.in; do 15 substituteInPlace $f --subst-var-by rcm $out 16 done 17 ''; 18 19 meta = with stdenv.lib; { 20 description = "Management Suite for Dotfiles"; 21 homepage = https://github.com/thoughtbot/rcm; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ malyn ]; 24 }; 25}