Merge staging-next into staging
This commit is contained in:
@@ -1,26 +1,39 @@
|
||||
{ lib, stdenv, fetchurl, perl }:
|
||||
{ lib, stdenv, fetchurl, perl, installShellFiles }:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.0.2";
|
||||
version = "2.21.1";
|
||||
pname = "checkbashisms";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/checkbaskisms/${version}/checkbashisms";
|
||||
sha256 = "1vm0yykkg58ja9ianfpm3mgrpah109gj33b41kl0jmmm11zip9jd";
|
||||
url = "mirror://debian/pool/main/d/devscripts/devscripts_${version}.tar.xz";
|
||||
hash = "sha256-1ZbIiUrFd38uMVLy7YayLLm5RrmcovsA++JTb8PbTFI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = [ perl ];
|
||||
|
||||
# The link returns directly the script. No need for unpacking
|
||||
dontUnpack = true;
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
substituteInPlace ./scripts/checkbashisms.pl \
|
||||
--replace '###VERSION###' "$version"
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
installPhase = ''
|
||||
install -D -m755 $src $out/bin/checkbashisms
|
||||
runHook preInstall
|
||||
|
||||
installManPage scripts/$pname.1
|
||||
installShellCompletion --bash --name $pname scripts/$pname.bash_completion
|
||||
install -D -m755 scripts/$pname.pl $out/bin/$pname
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://sourceforge.net/projects/checkbaskisms/";
|
||||
description = "Check shell scripts for non-portable syntax";
|
||||
license = lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ kaction ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,29 +1,22 @@
|
||||
{ lib, stdenv, autoreconfHook, fetchFromGitHub, fetchpatch }:
|
||||
{ lib, stdenv, autoreconfHook, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "inotify-tools";
|
||||
version = "3.20.2.2";
|
||||
version = "3.20.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "inotify-tools";
|
||||
owner = "rvoicilas";
|
||||
rev = version;
|
||||
sha256 = "1r12bglkb0bkqff6kgxjm81hk6z20nrxq3m7iv15d4nrqf9pm7s0";
|
||||
sha256 = "1m8avqccrhm38krlhp88a7v949f3hrzx060bbrr5dp5qw2nmw9j2";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/inotify-tools/inotify-tools/commit/7ddf45158af0c1e93b02181a45c5b65a0e5bed25.patch";
|
||||
sha256 = "08imqancx8l0bg9q7xaiql1xlalmbfnpjfjshp495sjais0r6gy7";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rvoicilas/inotify-tools/wiki";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ marcweber pSub ];
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ marcweber pSub shamilton ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user