Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a7e3c84fda7b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5ffe382afce7
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Apr 20, 2019

  1. dejsonlz4: init at 1.1 (#51373)

    * dejsonlz4: init at 1.1
    
    * fix description
    
    Co-Authored-By: mt-caret <mtakeda.enigsol@gmail.com>
    mt-caret authored and c0bw3b committed Apr 20, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    5ffe382 View commit details
Showing with 30 additions and 0 deletions.
  1. +28 −0 pkgs/tools/compression/dejsonlz4/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
28 changes: 28 additions & 0 deletions pkgs/tools/compression/dejsonlz4/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -1328,6 +1328,8 @@ in

deja-dup = callPackage ../applications/backup/deja-dup { };

dejsonlz4 = callPackage ../tools/compression/dejsonlz4 { };

desync = callPackage ../applications/networking/sync/desync { };

devmem2 = callPackage ../os-specific/linux/devmem2 { };