9842c4b107
Idea shamelessly stolen from 4e60b0efae
.
I realized that I don't really know anymore where I'm listed as maintainer and what
I'm actually (co)-maintaining which means that I can't proactively take
care of packages I officially maintain.
As I don't have the time, energy and motivation to take care of stuff I
was interested in 1 or 2 years ago (or packaged for someone else in the
past), I decided that I make this explicit by removing myself from several
packages and adding myself in some other stuff I'm now interested in.
I've seen it several times now that people remove themselves from a
package without removing the package if it's unmaintained after that
which is why I figured that it's fine in my case as the affected pkgs
are rather low-prio and were pretty easy to maintain.
39 lines
1.3 KiB
Nix
39 lines
1.3 KiB
Nix
{ stdenv, fetchFromGitHub, rustPlatform, cargo, cmake, sphinx, lib, prefix ? "uutils-" }:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
name = "uutils-coreutils-2019-05-03";
|
|
src = fetchFromGitHub {
|
|
owner = "uutils";
|
|
repo = "coreutils";
|
|
rev = "036dd812958ace22d973acf7b370f58072049dac";
|
|
sha256 = "0d9w3iiphhsk7l5l34682wayp90rgq5a3d94l3qdvhcqkfmpg727";
|
|
};
|
|
|
|
# too many impure/platform-dependent tests
|
|
doCheck = false;
|
|
|
|
cargoSha256 = "0qnpx2xhckb45q8cgn0xh31dg5k73hqp5mz5zg3micmg7as4b621";
|
|
|
|
makeFlags =
|
|
[ "CARGO=${cargo}/bin/cargo" "PREFIX=$(out)" "PROFILE=release" "INSTALLDIR_MAN=$(out)/share/man/man1" ]
|
|
++ lib.optional (prefix != null) [ "PROG_PREFIX=${prefix}" ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ cargo sphinx ];
|
|
|
|
# empty {build,install}Phase to use defaults of `stdenv.mkDerivation` rather than rust defaults
|
|
buildPhase = "";
|
|
installPhase = "";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Cross-platform Rust rewrite of the GNU coreutils";
|
|
longDescription = ''
|
|
uutils is an attempt at writing universal (as in cross-platform)
|
|
CLI utils in Rust. This repo is to aggregate the GNU coreutils rewrites.
|
|
'';
|
|
homepage = https://github.com/uutils/coreutils;
|
|
maintainers = with maintainers; [ ];
|
|
license = licenses.mit;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|