anchor.diff:        property shared by most LZ compression algorithms, such as zlib.
       '';
       homepage = https://facebook.github.io/zstd/;
  -    # The licence of the CLI programme is GPLv2+, that of the library BSD-2.
  -    license = with licenses; [ gpl2Plus bsd2 ];
  +    license = with licenses; [ bsd3 ]; # Or, at your opinion, GPL-2.0-only.
   
       platforms = platforms.unix;
       maintainers = with maintainers; [ orivej ];
  
positive.code:       --replace "zstdcat" "$out/bin/zstdcat"
    '';
  
    meta = with stdenv.lib; {
      description = "Zstandard real-time compression algorithm";
      longDescription = ''
  
negative.code: , legacySupport ? false }:
  
  stdenv.mkDerivation rec {
    pname = "zstd";
    version = "1.4.1";
  
    src = fetchFromGitHub {
      sha256 = "1f2nvhsx1fsd6zbnwvc6bbrm9ghkcvamqqg79fxgk5284rc6nynv";
      rev = "v${version}";
      repo = "zstd";
      owner = "facebook";
  