guile-lint: code formatting nits
This commit is contained in:
parent
fd03758305
commit
14befbf78d
|
@ -1,15 +1,20 @@
|
|||
{stdenv, fetchurl, guile}:
|
||||
{ stdenv, fetchurl, guile }:
|
||||
|
||||
let
|
||||
name = "guile-lint-${version}";
|
||||
version = "14";
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "guile-lint-14";
|
||||
src = fetchurl {
|
||||
url = "http://download.tuxfamily.org/user42/" + name + ".tar.bz2";
|
||||
url = "http://download.tuxfamily.org/user42/${name}.tar.bz2";
|
||||
sha256 = "5bfcf7a623338b2ef81ac097e3e136eaf32856dd0730b7eeaff3161067b5d0be";
|
||||
};
|
||||
|
||||
buildInputs = [ guile ];
|
||||
|
||||
unpackPhase = ''tar xjvf "$src" && sourceRoot="$PWD/${name}"'';
|
||||
|
||||
patchPhase = ''
|
||||
cat guile-lint.in | \
|
||||
sed 's|^exec guile|exec $\{GUILE:-${guile}/bin/guile}|g' > ,,tmp && \
|
||||
|
@ -20,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = {
|
||||
description = "Guile-Lint checks syntax and semantics in a Guile program or module";
|
||||
homepage = http://user42.tuxfamily.org/guile-lint/index.html;
|
||||
homepage = "http://user42.tuxfamily.org/guile-lint/index.html";
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue