mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 00:34:00 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
26 lines
795 B
Nix
26 lines
795 B
Nix
{ lib, stdenv, fetchurl, pkg-config, glib, gtk2, popt, babeltrace }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lttv";
|
|
version = "1.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://lttng.org/files/packages/${pname}-${version}.tar.bz2";
|
|
sha256 = "1faldxnh9dld5k0vxckwpqw241ya1r2zv286l6rpgqr500zqw7r1";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ glib gtk2 popt babeltrace ];
|
|
|
|
meta = with lib; {
|
|
description = "Graphical trace viewer for LTTng trace files";
|
|
homepage = "https://lttng.org/";
|
|
# liblttvtraceread (ltt/ directory) is distributed under the GNU LGPL v2.1.
|
|
# The rest of the LTTV package is distributed under the GNU GPL v2.
|
|
license = with licenses; [ gpl2 lgpl21 ];
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
|
|
}
|