about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/he
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/he')
-rw-r--r--nixpkgs/pkgs/by-name/he/headphones-toolbox/package.nix6
-rw-r--r--nixpkgs/pkgs/by-name/he/hello/package.nix1
-rw-r--r--nixpkgs/pkgs/by-name/he/hexbinhex/package.nix40
3 files changed, 44 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/by-name/he/headphones-toolbox/package.nix b/nixpkgs/pkgs/by-name/he/headphones-toolbox/package.nix
index d0f01961e6b6..ceaa22bb66f7 100644
--- a/nixpkgs/pkgs/by-name/he/headphones-toolbox/package.nix
+++ b/nixpkgs/pkgs/by-name/he/headphones-toolbox/package.nix
@@ -8,11 +8,11 @@
 
 stdenv.mkDerivation (finalAttrs: {
   name = "headphones-toolbox";
-  version = "0.0.3";
+  version = "0.0.4";
 
   src = fetchurl {
-    url = "https://github.com/george-norton/headphones-toolbox/releases/download/headphones-toolbox-beta-v4r2/ploopy-headphones-toolbox_${finalAttrs.version}_amd64.deb";
-    hash = "sha256-r+ybcD6koSIJ/6cck3RNXmf758sRnhS1Y4kaYCNbveA=";
+    url = "https://github.com/george-norton/headphones-toolbox/releases/download/headphones-toolbox-beta-v5/ploopy-headphones-toolbox_${finalAttrs.version}_amd64.deb";
+    hash = "sha256-47F/bTi7ctIbfRnYVbksYUsHmL+3KYWccNg5dKPGR/U=";
   };
 
   nativeBuildInputs = [
diff --git a/nixpkgs/pkgs/by-name/he/hello/package.nix b/nixpkgs/pkgs/by-name/he/hello/package.nix
index e9b9e4f4b96e..f1b056faf640 100644
--- a/nixpkgs/pkgs/by-name/he/hello/package.nix
+++ b/nixpkgs/pkgs/by-name/he/hello/package.nix
@@ -40,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
     changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${finalAttrs.version}";
     license = licenses.gpl3Plus;
     maintainers = [ maintainers.eelco ];
+    mainProgram = "hello";
     platforms = platforms.all;
   };
 })
diff --git a/nixpkgs/pkgs/by-name/he/hexbinhex/package.nix b/nixpkgs/pkgs/by-name/he/hexbinhex/package.nix
new file mode 100644
index 000000000000..8386ee9128dd
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/he/hexbinhex/package.nix
@@ -0,0 +1,40 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+}:
+
+stdenv.mkDerivation rec {
+  pname = "hexbinhex";
+  version = "1.1";
+
+  src = fetchFromGitHub {
+    owner = "dj-on-github";
+    repo = "hexbinhex";
+    rev = "v${version}";
+    hash = "sha256-nfOmiF+t5QtAl1I7CSz26C9SGo7ZkdSziO2eiHbk6pA=";
+  };
+
+  preBuild = ''
+    substituteInPlace Makefile --replace '/usr/local' $out
+    mkdir -p $out/bin
+  ''
+  +
+  lib.optionalString (!stdenv.hostPlatform.isx86_64) ''
+    sed -i s/-m64//g Makefile
+  '';
+
+  makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
+
+  enableParallelBuilding = true;
+
+  meta = {
+    homepage = "https://github.com/dj-on-github/hexbinhex";
+    description = ''
+      Six utility programs to convert between hex, binary, ascii-binary
+      and the oddball NIST format for 90B testing.
+    '';
+    license = lib.licenses.gpl2Only;
+    platforms = lib.platforms.all;
+    maintainers = with lib.maintainers; [ orichter thillux ];
+  };
+}