about summary refs log tree commit diff
path: root/pkgs/applications/radio/flamp
diff options
context:
space:
mode:
authorScott Teague <stteague505@yahoo.com>2023-05-28 06:20:03 -0600
committerScott Teague <stteague505@yahoo.com>2023-06-01 21:43:58 -0600
commit43d042cea24ca2452b02eb9b2d5c48fe69078f7b (patch)
tree3e64d914afdec97ca163c034778822bdc2e25add /pkgs/applications/radio/flamp
parent95be94370d09f97f6af6a1df1eb9649b5260724e (diff)
flamp: init at 2.2.07
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
Diffstat (limited to 'pkgs/applications/radio/flamp')
-rw-r--r--pkgs/applications/radio/flamp/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/radio/flamp/default.nix b/pkgs/applications/radio/flamp/default.nix
new file mode 100644
index 0000000000000..8eb813af97bf2
--- /dev/null
+++ b/pkgs/applications/radio/flamp/default.nix
@@ -0,0 +1,41 @@
+{ 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";
+  };
+})