1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/misc/rcm/default.nix

28 lines
667 B
Nix
Raw Normal View History

2014-10-25 23:17:26 +01:00
{ stdenv, fetchurl }:
2017-01-26 04:42:30 +00:00
stdenv.mkDerivation rec {
name = "rcm-${version}";
version = "1.3.3";
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";
sha256 = "1bqk7rrp1ckzvsvl9wghsr77m8xl3a7yc5gqdsisz492dx2j8mck";
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 stdenv.lib; {
2014-10-25 23:17:26 +01:00
description = "Management Suite for Dotfiles";
homepage = https://github.com/thoughtbot/rcm;
license = licenses.bsd3;
maintainers = with maintainers; [ malyn ];
platforms = with platforms; unix;
2014-10-25 23:17:26 +01:00
};
}