app-arch/nix-compress - 0.3.1 (guru)

Search

Install

Install this version:

emerge -a =app-arch/nix-compress-0.3.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-arch/nix-compress-0.3.1

Or alternatively:

emerge --autounmask-write -a =app-arch/nix-compress-0.3.1

Package Information

Description:
Modern implementation of the ancient unix compress(1) tool
Homepage:
https://codeberg.org/NRK/nix-compress
License:
GPL-3+ MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
0.3.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo toolchain-funcs

DESCRIPTION="Modern implementation of the ancient unix compress(1) tool"
HOMEPAGE="https://codeberg.org/NRK/nix-compress"

SRC_URI="https://codeberg.org/NRK/nix-compress/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="GPL-3+ MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="!app-arch/ncompress"

src_compile() {
	edo $(tc-getCC) ${CFLAGS} -o compress nix-compress.c ${LDFLAGS}
}

src_install() {
	dobin compress
	dosym compress /usr/bin/uncompress
	doman man/compress.1 man/uncompress.1
	dodoc README.md
}

Inherited Eclasses

edo

Dependencies

RDEPEND

!app-arch/ncompress

Manifest for 0.3.1

Type File Size Source URLs
DIST nix-compress-0.3.1.tar.gz 32340 bytes https://codeberg.org/NRK/nix-compress/archive/v0.3.1.tar.gz