less: 633 -> 643
- finalAttrs - split output - meta.mainProgram and meta.changelog Co-authored-by: Jack Maloney <jmmaloney4@gmail.com>
This commit is contained in:
parent
1e58183743
commit
78cccac71c
1 changed files with 20 additions and 16 deletions
|
@ -5,33 +5,37 @@
|
|||
, pcre2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "less";
|
||||
version = "633";
|
||||
version = "643";
|
||||
|
||||
# Only tarballs on the website are valid releases,
|
||||
# other versions, e.g. git tags are considered snapshots.
|
||||
src = fetchurl {
|
||||
url = "https://www.greenwoodsoftware.com/less/less-${version}.tar.gz";
|
||||
hash = "sha256-LyAdZLgouIrzbf5s/bo+CBns4uRG6+YiSBMgmq7+0E8=";
|
||||
url = "https://www.greenwoodsoftware.com/less/less-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-KRG1QyyDb6CEyKLmj2zWMSNywCalj6qpiGJzHItgUug=";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
# Look for ‘sysless’ in /etc.
|
||||
"--sysconfdir=/etc"
|
||||
"--with-regex=pcre2"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ncurses
|
||||
pcre2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
configureFlags = [
|
||||
# Look for 'sysless' in /etc.
|
||||
"--sysconfdir=/etc"
|
||||
"--with-regex=pcre2"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.greenwoodsoftware.com/less/";
|
||||
description = "A more advanced file pager than ‘more’";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ eelco dtzWill ];
|
||||
description = "A more advanced file pager than 'more'";
|
||||
changelog = "https://www.greenwoodsoftware.com/less/news.${finalAttrs.version}.html";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
mainProgram = "less";
|
||||
maintainers = with lib.maintainers; [ eelco dtzWill ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue