forked from mirrors/nixpkgs
cask: init at 0.8.4
This commit is contained in:
parent
180aa21259
commit
b19ccfff73
|
@ -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";
|
||||
|
|
43
pkgs/development/tools/cask/default.nix
Normal file
43
pkgs/development/tools/cask/default.nix
Normal 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 ];
|
||||
}
|
|
@ -8606,6 +8606,8 @@ in
|
|||
|
||||
cadre = callPackage ../development/tools/cadre { };
|
||||
|
||||
cask = callPackage ../development/tools/cask { };
|
||||
|
||||
casperjs = callPackage ../development/tools/casperjs {
|
||||
inherit (texFunctions) fontsConf;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue