Update default.nix to remove whitespace Update pkgs/applications/radio/flamp/default.nix Use variable as suggested by Natsukium Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> Update pkgs/applications/radio/flamp/default.nix Change "sha256" to "hash" as suggested by Natsukium Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> Update pkgs/applications/radio/flamp/default.nix Fix code style to comply with standards as suggested by Natsukium Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> Update pkgs/applications/radio/flamp/default.nix Fix code style as suggested by Natsukium Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> Update pkgs/applications/radio/flamp/default.nix Get rid of accidental bloat I had made. As suggested by Natsukium Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com> remove another space Use finalAttrs pattern as suggested by drupol Get rid of unneeded buildInputs
42 lines
786 B
Nix
42 lines
786 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchgit
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, fltk13
|
|
, libsndfile
|
|
, gettext
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "flamp";
|
|
version = "2.2.07";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.code.sf.net/p/fldigi/flamp";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-BnKL1iwaw1iJC5qcGCvdMr461n0BSYxk61dbAnhpz2c=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
gettext
|
|
];
|
|
|
|
buildInputs = [
|
|
fltk13
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Digital modem program";
|
|
homepage = "https://sourceforge.net/projects/fldigi/";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ stteague ];
|
|
platforms = platforms.unix;
|
|
broken = stdenv.system == "x86_64-darwin";
|
|
};
|
|
})
|