nixpkgs/pkgs/development/tools/misc/checkbashisms/default.nix
Ryan Mulligan c4ac43a20c checkbashism: 2.0.0.2 -> 2.18.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/checkbashisms/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- directory tree listing: https://gist.github.com/6e3ce06d60c67525f1f11df0822e6b36
2018-03-29 21:27:44 -07:00

27 lines
711 B
Nix

{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
version = "2.18.1";
name = "checkbashisms-${version}";
src = fetchurl {
url = "mirror://debian/pool/main/d/devscripts/devscripts_${version}.tar.xz";
sha256 = "1yaygfzv5jzvcbahz6sdfnzhch9mxgsrlsym2ad62nk0svsnp24n";
};
buildInputs = [ perl ];
# The link returns directly the script. No need for unpacking
unpackPhase = "true";
installPhase = ''
install -D -m755 $src $out/bin/checkbashisms
'';
meta = {
homepage = https://sourceforge.net/projects/checkbaskisms/;
description = "Check shell scripts for non-portable syntax";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
};
}