mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
31 lines
673 B
Nix
31 lines
673 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rcm";
|
|
version = "1.3.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://thoughtbot.github.io/rcm/dist/rcm-${version}.tar.gz";
|
|
sha256 = "sha256-9P37xFHR+1dkUxKQogKgqHH2uBujwBprdsSUNchQgKU=";
|
|
};
|
|
|
|
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";
|
|
description = "Management Suite for Dotfiles";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ malyn AndersonTorres ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|