nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 30 lines 673 B view raw
1{ lib 2, stdenv 3, fetchurl 4}: 5 6stdenv.mkDerivation rec { 7 pname = "rcm"; 8 version = "1.3.6"; 9 10 src = fetchurl { 11 url = "https://thoughtbot.github.io/rcm/dist/rcm-${version}.tar.gz"; 12 sha256 = "sha256-9P37xFHR+1dkUxKQogKgqHH2uBujwBprdsSUNchQgKU="; 13 }; 14 15 patches = [ ./fix-rcmlib-path.patch ]; 16 17 postPatch = '' 18 for f in bin/*.in; do 19 substituteInPlace $f --subst-var-by rcm $out 20 done 21 ''; 22 23 meta = with lib; { 24 homepage = "https://github.com/thoughtbot/rcm"; 25 description = "Management Suite for Dotfiles"; 26 license = licenses.bsd3; 27 maintainers = with maintainers; [ malyn AndersonTorres ]; 28 platforms = with platforms; unix; 29 }; 30}