cask: init at 0.8.4

This commit is contained in:
Felix Weilbach 2019-03-31 23:18:17 +02:00 committed by Herwig Hochleitner
parent 180aa21259
commit b19ccfff73
3 changed files with 50 additions and 0 deletions

View file

@ -1618,6 +1618,11 @@
github = "FireyFly";
name = "Jonas Höglund";
};
flexw = {
email = "felix.weilbach@t-online.de";
github = "FlexW";
name = "Felix Weilbach";
};
flokli = {
email = "flokli@flokli.de";
github = "flokli";

View file

@ -0,0 +1,43 @@
{ stdenv, fetchurl, emacs, python }:
stdenv.mkDerivation rec {
name = "cask-${version}";
version = "0.8.4";
src = fetchurl {
url = "https://github.com/cask/cask/archive/v${version}.tar.gz";
sha256 = "02f8bb20b33b23fb11e7d2a1d282519dfdb8b3090b9672448b8c2c2cacd3e478";
};
doCheck = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/templates
install -Dm644 *.el $out/
install -Dm755 bin/cask $out/bin
install -Dm644 templates/* $out/templates/
touch $out/.no-upgrade
mkdir -p $out/usr/share/emacs/site-lisp/cask
ln -s cask{,-bootstrap}.el $out/usr/share/emacs/site-lisp/cask/
'';
meta = with stdenv.lib; {
description = "Project management for Emacs";
longDescription = ''
Cask is a project management tool for Emacs that helps automate the
package development cycle; development, dependencies, testing, building,
packaging and more.
Cask can also be used to manage dependencies for your local Emacs configuration.
'';
homepage = https://cask.readthedocs.io/en/latest/index.html;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.flexw ];
};
nativeBuildInputs = [ emacs python ];
}

View file

@ -8606,6 +8606,8 @@ in
cadre = callPackage ../development/tools/cadre { };
cask = callPackage ../development/tools/cask { };
casperjs = callPackage ../development/tools/casperjs {
inherit (texFunctions) fontsConf;
};