tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hobbits: init at 0.52.0
Nikolay Korotkiy
4 years ago
6db220af
e9ab5bfe
+36
2 changed files
expand all
collapse all
unified
split
pkgs
tools
graphics
hobbits
default.nix
top-level
all-packages.nix
+34
pkgs/tools/graphics/hobbits/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, stdenv, mkDerivation, fetchFromGitHub
2
+
, cmake, pkg-config, fftw, libpcap, libusb1, python3
3
+
}:
4
+
5
+
mkDerivation rec {
6
+
pname = "hobbits";
7
+
version = "0.52.0";
8
+
9
+
src = fetchFromGitHub {
10
+
owner = "Mahlet-Inc";
11
+
repo = pname;
12
+
rev = "v${version}";
13
+
sha256 = "sha256-GZHBkBRt1ySItV+h5rdvey7KwdUWh5+rgztXh6HW3Js=";
14
+
};
15
+
16
+
postPatch = ''
17
+
substituteInPlace src/hobbits-core/settingsdata.cpp \
18
+
--replace "pythonHome = \"/usr\"" "pythonHome = \"${python3}\""
19
+
substituteInPlace cmake/gitversion.cmake \
20
+
--replace "[Mystery Build]" "${version}"
21
+
'';
22
+
23
+
buildInputs = [ fftw libpcap libusb1 python3 ];
24
+
25
+
nativeBuildInputs = [ cmake pkg-config ];
26
+
27
+
meta = with lib; {
28
+
description = "A multi-platform GUI for bit-based analysis, processing, and visualization";
29
+
homepage = "https://github.com/Mahlet-Inc/hobbits";
30
+
license = licenses.mit;
31
+
maintainers = with maintainers; [ sikmir ];
32
+
platforms = platforms.linux;
33
+
};
34
+
}
+2
pkgs/top-level/all-packages.nix
···
6073
6074
hivemind = callPackage ../applications/misc/hivemind { };
6075
0
0
6076
hfsprogs = callPackage ../tools/filesystems/hfsprogs { };
6077
6078
highlight = callPackage ../tools/text/highlight ({
···
6073
6074
hivemind = callPackage ../applications/misc/hivemind { };
6075
6076
+
hobbits = libsForQt5.callPackage ../tools/graphics/hobbits { };
6077
+
6078
hfsprogs = callPackage ../tools/filesystems/hfsprogs { };
6079
6080
highlight = callPackage ../tools/text/highlight ({