Merge pull request #130039 from 06kellyjac/uutils-coreutils

This commit is contained in:
Sandro 2021-07-14 00:00:28 +02:00 committed by GitHub
commit d79ed281b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,25 +12,19 @@
stdenv.mkDerivation rec {
pname = "uutils-coreutils";
version = "0.0.6";
version = "0.0.7";
src = fetchFromGitHub {
owner = "uutils";
repo = "coreutils";
rev = version;
sha256 = "sha256-dnswE/DU2jCfxWW10Ctjw8woktwWZqyd3E9IuKkle1M=";
sha256 = "sha256-XI6061nCVyL8Q1s+QH75IesneJNhbhxGnILZxQCa5LU=";
};
postPatch = ''
# can be removed after https://github.com/uutils/coreutils/pull/1815 is included
substituteInPlace GNUmakefile \
--replace uutils coreutils
'';
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-92BHPSVIPZLn399AcaJJjRq2WkxzDm8knKN3FIdAxAA=";
hash = "sha256-bfwWyeuslLjh4OCt+H8CM8hCrRFqlibOS8gS64lysa0=";
};
nativeBuildInputs = [ rustPlatform.cargoSetupHook sphinx ];