Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7ae2ba173f39
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cb19404fafe6
Choose a head ref
  • 4 commits
  • 4 files changed
  • 3 contributors

Commits on Jul 30, 2018

  1. bukubrow: init at 2.4.0

    infinisil committed Jul 30, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    infinisil Silvan Mosberger
    Copy the full SHA
    2ee3d84 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    infinisil Silvan Mosberger
    Copy the full SHA
    49bc1ad View commit details

Commits on Jul 31, 2018

  1. eresi: init at 0.83-a3-phoenix

    While I'm not sure whether it's suitable for my tasks it might be useful
    for others doing reverse engineering, so I decided to package it.
    
    The software seems to have stalled development since a while but became
    active again recently, so hopefully some of the issues with packaging
    will be fixed and they might want to move away from their handwritten
    configure script.
    
    I've tested the package on both i686-linux and x86_64-linux, however the
    automated test suite seems to be broken upstream at the moment so I
    didn't set doCheck to true, but once this is fixed, we can enable them
    in a future update.
    
    Signed-off-by: aszlig <aszlig@nix.build>
    aszlig committed Jul 31, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    c8b973d View commit details
  2. Merge pull request #44245 from Infinisil/add/bukubrow

    bukubrow: Init at 2.4.0
    srhb authored Jul 31, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cb19404 View commit details
3 changes: 2 additions & 1 deletion pkgs/applications/networking/browsers/firefox/wrapper.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
, trezor-bridge, bluejeans, djview4, adobe-reader
, google_talk_plugin, fribid, gnome3/*.gnome-shell*/
, esteidfirefoxplugin
, browserpass, chrome-gnome-shell, uget-integrator, plasma-browser-integration
, browserpass, chrome-gnome-shell, uget-integrator, plasma-browser-integration, bukubrow
, udev
, kerberos
}:
@@ -61,6 +61,7 @@ let
nativeMessagingHosts =
([ ]
++ lib.optional (cfg.enableBrowserpass or false) (lib.getBin browserpass)
++ lib.optional (cfg.enableBukubrow or false) bukubrow
++ lib.optional (cfg.enableGnomeExtensions or false) chrome-gnome-shell
++ lib.optional (cfg.enableUgetIntegrator or false) uget-integrator
++ lib.optional (cfg.enablePlasmaBrowserIntegration or false) plasma-browser-integration
60 changes: 60 additions & 0 deletions pkgs/development/tools/analysis/eresi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{ stdenv, lib, fetchFromGitHub, which, openssl, readline }:

stdenv.mkDerivation rec {
name = "eresi-${version}";
version = "0.83-a3-phoenix";

src = fetchFromGitHub {
owner = "thorkill";
repo = "eresi";
rev = version;
sha256 = "0a5a7mh2zw9lcdrl8n1mqccrc0xcgj7743l7l4kslkh722fxv625";
};

postPatch = ''
# Two occurences of fprintf() with only two arguments, which should really
# be fputs().
#
# Upstream pull request: https://github.com/thorkill/eresi/pull/162
#
sed -i -e 's/fprintf(\(stderr\), *\([a-z0-9]\+\))/fputs(\2, \1)/g' \
libe2dbg/common/common.c libe2dbg/user/threads.c
# We need to patch out a few ifs here, because it tries to create a series
# of configuration files in ~/.something. However, our builds are sandboxed
# and also don't contain a valid home, so let's NOP it out :-)
#
# The second fix we need to make is that we need to pretend being Gentoo
# because otherwise the build process tries to link against libtermcap,
# which I think is solely for historic reasons (nowadays Terminfo should
# have largely superseded it).
sed -i -e '/^if \[ ! -e/c if false; then' \
-e 's/^GENTOO=.*/GENTOO=1/' configure
'';

configureFlags = [
(if stdenv.is64bit then "--enable-32-64" else "--enable-32")
"--enable-readline"
];

# The configure script is not generated by autoconf but is hand-rolled, so it
# has --enable-static but no --disabled-static and also doesn't support the
# equals sign in --prefix.
prefixKey = "--prefix ";
dontDisableStatic = true;

nativeBuildInputs = [ which ];
buildInputs = [ openssl readline ];
enableParallelBuilding = true;

installTargets = lib.singleton "install"
++ lib.optional stdenv.is64bit "install64";

meta = {
description = "The ERESI Reverse Engineering Software Interface";
license = lib.licenses.gpl2;
homepage = http://www.eresi-project.org/;
maintainers = [ lib.maintainers.aszlig ];
platforms = lib.platforms.linux;
};
}
37 changes: 37 additions & 0 deletions pkgs/tools/networking/bukubrow/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ stdenv, rustPlatform, fetchFromGitHub, sqlite }:

rustPlatform.buildRustPackage rec {
name = "bukubrow-${version}";
version = "2.4.0";

src = fetchFromGitHub {
owner = "SamHH";
repo = "bukubrow";
rev = version;
sha256 = "1wrwav7am73bmgbpwh1pi0b8k7vhydqvw91hmmhnvbjhrhbns7s5";
};
sourceRoot = "source/binary";

cargoSha256 = "19d1pgk8nm5jsfd696bqayi5s8ivv9gi6jdb00d10ddjxz234gs7";

buildInputs = [ sqlite ];

postInstall = ''
mkdir -p $out/etc $out/lib/mozilla/native-messaging-hosts
host_file="$out/bin/bukubrow"
sed -e "s!%%replace%%!$host_file!" browser-hosts/firefox.json > "$out/etc/firefox-host.json"
sed -e "s!%%replace%%!$host_file!" browser-hosts/chrome.json > "$out/etc/chrome-host.json"
ln -s $out/etc/firefox-host.json $out/lib/mozilla/native-messaging-hosts/com.samhh.bukubrow.json
'';

meta = with stdenv.lib; {
description = "Bukubrow is a WebExtension for Buku, a command-line bookmark manager";
homepage = https://github.com/SamHH/bukubrow;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ infinisil ];
};
}

4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -967,6 +967,8 @@ with pkgs;

buildah = callPackage ../development/tools/buildah { };

bukubrow = callPackage ../tools/networking/bukubrow { };

burpsuite = callPackage ../tools/networking/burpsuite {};

c3d = callPackage ../applications/graphics/c3d {
@@ -8108,6 +8110,8 @@ with pkgs;

epm = callPackage ../development/tools/misc/epm { };

eresi = callPackage ../development/tools/analysis/eresi { };

eweb = callPackage ../development/tools/literate-programming/eweb { };

eztrace = callPackage ../development/tools/profiling/EZTrace { };