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: f72d2041b760
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 374e0ad0a844
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 19, 2019

  1. pulseview: use mkDerivation

    peterhoeg authored and bjornfor committed Aug 19, 2019
    Copy the full SHA
    374e0ad View commit details
Showing with 9 additions and 9 deletions.
  1. +9 −9 pkgs/applications/science/electronics/pulseview/default.nix
18 changes: 9 additions & 9 deletions pkgs/applications/science/electronics/pulseview/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{ stdenv, fetchurl, pkgconfig, cmake, glib, boost, libsigrok
{ mkDerivation, lib, fetchurl, pkgconfig, cmake, glib, boost, libsigrok
, libsigrokdecode, libserialport, libzip, udev, libusb1, libftdi1, glibmm
, pcre, librevisa, python3, qtbase, qtsvg
}:

stdenv.mkDerivation rec {
name = "pulseview-0.4.1";
mkDerivation rec {
pname = "pulseview";
version = "0.4.1";

src = fetchurl {
url = "https://sigrok.org/download/source/pulseview/${name}.tar.gz";
url = "https://sigrok.org/download/source/pulseview/${pname}-${version}.tar.gz";
sha256 = "0bvgmkgz37n2bi9niskpl05hf7rsj1lj972fbrgnlz25s4ywxrwy";
};

nativeBuildInputs = [ cmake pkgconfig ];

buildInputs = [
glib boost libsigrok libsigrokdecode libserialport libzip udev libusb1 libftdi1 glibmm
pcre librevisa python3 qtbase qtsvg
pcre librevisa python3
qtbase qtsvg
];

enableParallelBuilding = true;

meta = with stdenv.lib; {
meta = with lib; {
description = "Qt-based LA/scope/MSO GUI for sigrok (a signal analysis software suite)";
homepage = https://sigrok.org/;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ bjornfor ];
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}