-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
Cleanup compression #130928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SuperSandro2000
merged 17 commits into
NixOS:master
from
SuperSandro2000:cleanup-compression
Jul 22, 2021
Merged
Cleanup compression #130928
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0a97ad6
brotli: cleanup
SuperSandro2000 eaf2c4a
bsc: cleanup
SuperSandro2000 7c49b41
bsdiff: cleanup
SuperSandro2000 a2d112e
dejsonlz4: cleanup
SuperSandro2000 9807562
gzrt: cleanup
SuperSandro2000 459da17
kzipmix: cleanup
SuperSandro2000 7ca9718
lbzip2: cleanup
SuperSandro2000 40e00bb
lhasa: cleanup
SuperSandro2000 8f9e799
lrzip: cleanup
SuperSandro2000 75286ae
lzop: cleanup
SuperSandro2000 d04efb0
pigz: cleanup
SuperSandro2000 ab4a6cb
pixz: cleanup
SuperSandro2000 676fe1c
pxz: cleanup
SuperSandro2000 56d6f78
rzip: cleanup
SuperSandro2000 09f99fe
zsync: cleanup
SuperSandro2000 aaa06c3
kzipmix: 20091108 -> 20200115
SuperSandro2000 93de4f3
pxz: drop no longer required patch
SuperSandro2000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,30 @@ | ||
| { lib, stdenv, fetchFromGitHub }: | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| pname = "dejsonlz4"; | ||
| version = "1.1"; | ||
| src = fetchFromGitHub { | ||
| owner = "avih"; | ||
| repo = pname; | ||
| rev = "v${version}"; | ||
| sha256 = "0ggs69qamaama5mid07mhp95m1x42wljdb953lrwfr7p8p6f8czh"; | ||
| }; | ||
| pname = "dejsonlz4"; | ||
| version = "1.1"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "avih"; | ||
| repo = pname; | ||
| rev = "v${version}"; | ||
| sha256 = "0ggs69qamaama5mid07mhp95m1x42wljdb953lrwfr7p8p6f8czh"; | ||
| }; | ||
|
|
||
| buildPhase = '' | ||
| ${stdenv.cc.targetPrefix}cc -o dejsonlz4 src/dejsonlz4.c src/lz4.c | ||
| ''; | ||
| buildPhase = '' | ||
| ${stdenv.cc.targetPrefix}cc -o dejsonlz4 src/dejsonlz4.c src/lz4.c | ||
| ''; | ||
|
|
||
| installPhase = '' | ||
| mkdir -p $out/bin/ | ||
| cp dejsonlz4 $out/bin/ | ||
| ''; | ||
| installPhase = '' | ||
| mkdir -p $out/bin/ | ||
| cp dejsonlz4 $out/bin/ | ||
| ''; | ||
|
|
||
| meta = with lib; { | ||
| description = "Decompress Mozilla Firefox bookmarks backup files"; | ||
| homepage = "https://github.com/avih/dejsonlz4"; | ||
| license = licenses.bsd2; | ||
| maintainers = with maintainers; [ mt-caret ]; | ||
| platforms = platforms.all; | ||
| }; | ||
| } | ||
| meta = with lib; { | ||
| description = "Decompress Mozilla Firefox bookmarks backup files"; | ||
| homepage = "https://github.com/avih/dejsonlz4"; | ||
| license = licenses.bsd2; | ||
| maintainers = with maintainers; [ mt-caret ]; | ||
| platforms = platforms.all; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,26 @@ | ||
| {lib, stdenv, fetchurl}: | ||
| { lib, stdenv, fetchurl }: | ||
|
|
||
| stdenv.mkDerivation { | ||
| name = "kzipmix-20091108"; | ||
| stdenv.mkDerivation rec { | ||
| pname = "kzipmix"; | ||
| version = "20200115"; | ||
|
|
||
| src = fetchurl { | ||
| url = "http://static.jonof.id.au/dl/kenutils/kzipmix-20091108-linux.tar.gz"; | ||
| sha256 = "19gyn8pblffdz1bf3xkbpzx8a8wn3xb0v411pqzmz5g5l6pm5gph"; | ||
| url = "http://static.jonof.id.au/dl/kenutils/kzipmix-${version}-linux.tar.gz"; | ||
| sha256 = "sha256-ePgye0D6/ED53zx6xffLnYhkjed7SPU4BLOZQr9E3yA="; | ||
| }; | ||
|
|
||
| installPhase = '' | ||
| mkdir -p $out/bin | ||
| cp kzip zipmix $out/bin | ||
| cp amd64/{kzip,zipmix} $out/bin | ||
|
|
||
| patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2 $out/bin/kzip | ||
| patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2 $out/bin/zipmix | ||
| ''; | ||
|
|
||
| meta = { | ||
| meta = with lib; { | ||
| description = "A tool that aggressively optimizes the sizes of Zip archives"; | ||
| license = lib.licenses.unfree; | ||
| license = licenses.unfree; | ||
| homepage = "http://advsys.net/ken/utils.htm"; | ||
| maintainers = [ lib.maintainers.sander ]; | ||
| maintainers = [ maintainers.sander ]; | ||
| }; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,24 @@ | ||
| {lib, stdenv, fetchurl}: | ||
| { lib, stdenv, fetchurl }: | ||
|
|
||
| stdenv.mkDerivation rec { | ||
| pname = "lhasa"; | ||
| version = "0.3.1"; | ||
|
|
||
| stdenv.mkDerivation { | ||
| name = "lhasa-0.3.1"; | ||
| src = fetchurl { | ||
| url = "https://soulsphere.org/projects/lhasa/lhasa-0.3.1.tar.gz"; | ||
| url = "https://soulsphere.org/projects/lhasa/lhasa-${version}.tar.gz"; | ||
| sha256 = "092zi9av18ma20c6h9448k0bapvx2plnp292741dvfd9hmgqxc1z"; | ||
| }; | ||
| meta = { | ||
|
|
||
| meta = with lib; { | ||
| description = "Free Software replacement for the Unix LHA tool"; | ||
| longDescription = '' | ||
| Lhasa is a Free Software replacement for the Unix LHA tool, for | ||
| decompressing .lzh (LHA / LHarc) and .lzs (LArc) archives. The backend for | ||
| the tool is a library, so that it can be reused for other purposes. | ||
| ''; | ||
| license = lib.licenses.isc; | ||
| license = licenses.isc; | ||
| homepage = "http://fragglet.github.io/lhasa"; | ||
| maintainers = with lib; [ maintainers.sander ]; | ||
| platforms = with lib.platforms; linux ++ darwin; | ||
| maintainers = [ maintainers.sander ]; | ||
| platforms = platforms.unix; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.