Revert "hfsprogs: init at 332.25"

This reverts commit d0dcad3b91212179a27987ad17b1cbbfceb71a9a.

diskdev_cmds is now packaged as darwin.diskdev_cmds. Linux support is
unknown right now (but PRs are accepted).

-47
-45
pkgs/tools/filesystems/hfsprogs/default.nix
··· 1 - { stdenv, fetchurl, openssl, libbsd }: 2 - 3 - let version = "332.25"; 4 - package_name = "hfsprogs"; in 5 - stdenv.mkDerivation rec { 6 - name = "${package_name}-${version}"; 7 - srcs = [ 8 - (fetchurl { 9 - url = "http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/${package_name}_${version}-11.debian.tar.gz"; 10 - sha256 = "62d9b8599c66ebffbc57ce5d776e20b41341130d9b27341d63bda08460ebde7c"; 11 - }) 12 - (fetchurl { 13 - url = "https://opensource.apple.com/tarballs/diskdev_cmds/diskdev_cmds-${version}.tar.gz"; 14 - sha256 = "74c9aeca899ed7f4bf155c65fc45bf0f250c0f6d57360ea953b1d536d9aa45e6"; 15 - }) 16 - ]; 17 - 18 - sourceRoot = "diskdev_cmds-" + version; 19 - patches = [ "../debian/patches/*.patch" ]; 20 - 21 - buildInputs = [ openssl libbsd ]; 22 - makefile = "Makefile.lnx"; 23 - 24 - # Inspired by PKGBUILD of https://www.archlinux.org/packages/community/x86_64/hfsprogs/ 25 - installPhase = '' 26 - # Create required package directories 27 - install -m 755 -d "$out/bin" 28 - install -m 755 -d "$out/share/${package_name}" 29 - install -m 755 -d "$out/share/man/man8/" 30 - # Copy executables 31 - install -m 755 "newfs_hfs.tproj/newfs_hfs" "$out/bin/mkfs.hfsplus" 32 - install -m 755 "fsck_hfs.tproj/fsck_hfs" "$out/bin/fsck.hfsplus" 33 - # Copy shared data 34 - install -m 644 "newfs_hfs.tproj/hfsbootdata.img" "$out/share/${package_name}/hfsbootdata" 35 - # Copy man pages 36 - install -m 644 "newfs_hfs.tproj/newfs_hfs.8" "$out/share/man/man8/mkfs.hfsplus.8" 37 - install -m 644 "fsck_hfs.tproj/fsck_hfs.8" "$out/share/man/man8/fsck.hfsplus.8" 38 - ''; 39 - 40 - meta = { 41 - description = "HFS/HFS+ user space utils"; 42 - license = stdenv.lib.licenses.apsl20; 43 - platforms = stdenv.lib.platforms.linux; 44 - }; 45 - }
-2
pkgs/top-level/all-packages.nix
··· 2888 2888 2889 2889 hiera-eyaml = callPackage ../tools/system/hiera-eyaml { }; 2890 2890 2891 - hfsprogs = callPackage ../tools/filesystems/hfsprogs { }; 2892 - 2893 2891 highlight = callPackage ../tools/text/highlight ({ 2894 2892 lua = lua5; 2895 2893 } // lib.optionalAttrs stdenv.isDarwin {