diff options
author | mt_caret <mtakeda.enigsol@gmail.com> | 2019-04-21 03:50:47 +0900 |
---|---|---|
committer | Renaud <c0bw3b@users.noreply.github.com> | 2019-04-20 20:50:47 +0200 |
commit | 5ffe382afce75765f786f7e94e602e55aac44224 (patch) | |
tree | e72188e57d295b86d0b45c3094f9aa8807753139 /pkgs/tools/compression/dejsonlz4 | |
parent | a7e3c84fda7b0354f74cc5ad11d6c815cd5c8495 (diff) | |
download | nixpkgs-5ffe382afce75765f786f7e94e602e55aac44224.tar nixpkgs-5ffe382afce75765f786f7e94e602e55aac44224.tar.gz nixpkgs-5ffe382afce75765f786f7e94e602e55aac44224.tar.bz2 nixpkgs-5ffe382afce75765f786f7e94e602e55aac44224.tar.lz nixpkgs-5ffe382afce75765f786f7e94e602e55aac44224.tar.xz nixpkgs-5ffe382afce75765f786f7e94e602e55aac44224.tar.zst nixpkgs-5ffe382afce75765f786f7e94e602e55aac44224.zip |
dejsonlz4: init at 1.1 (#51373)
* dejsonlz4: init at 1.1 * fix description Co-Authored-By: mt-caret <mtakeda.enigsol@gmail.com>
Diffstat (limited to 'pkgs/tools/compression/dejsonlz4')
-rw-r--r-- | pkgs/tools/compression/dejsonlz4/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/compression/dejsonlz4/default.nix b/pkgs/tools/compression/dejsonlz4/default.nix new file mode 100644 index 00000000000..53b968c5134 --- /dev/null +++ b/pkgs/tools/compression/dejsonlz4/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub }: +stdenv.mkDerivation rec { + pname = "dejsonlz4"; + version = "1.1"; + src = fetchFromGitHub { + owner = "avih"; + repo = pname; + rev = "v${version}"; + sha256 = "0ggs69qamaama5mid07mhp95m1x42wljdb953lrwfr7p8p6f8czh"; + }; + + buildPhase = '' + gcc -Wall -o dejsonlz4 src/dejsonlz4.c src/lz4.c + ''; + + installPhase = '' + mkdir -p $out/bin/ + cp dejsonlz4 $out/bin/ + ''; + + meta = with stdenv.lib; { + description = "Decompress Mozilla Firefox bookmarks backup files"; + homepage = https://github.com/avih/dejsonlz4; + license = licenses.bsd2; + maintainers = with maintainers; [ mt-caret ]; + platforms = platforms.linux; + }; + } |