summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-01-13 10:05:24 +0800
committerNick Cao <nickcao@nichi.co>2023-01-23 10:36:50 +0800
commitd22575be494d6aa5f69f8112af98e8d16f58c750 (patch)
tree3bdfc46b3433ddc79eb74c8c21d717315ee69023
parent254051982bdc26c987cbdae9928968b1308b8f11 (diff)
downloadnixpkgs-d22575be494d6aa5f69f8112af98e8d16f58c750.tar
nixpkgs-d22575be494d6aa5f69f8112af98e8d16f58c750.tar.gz
nixpkgs-d22575be494d6aa5f69f8112af98e8d16f58c750.tar.bz2
nixpkgs-d22575be494d6aa5f69f8112af98e8d16f58c750.tar.lz
nixpkgs-d22575be494d6aa5f69f8112af98e8d16f58c750.tar.xz
nixpkgs-d22575be494d6aa5f69f8112af98e8d16f58c750.tar.zst
nixpkgs-d22575be494d6aa5f69f8112af98e8d16f58c750.zip
imag: drop
-rw-r--r--pkgs/applications/misc/imag/default.nix61
-rw-r--r--pkgs/top-level/aliases.nix1
-rw-r--r--pkgs/top-level/all-packages.nix5
3 files changed, 1 insertions, 66 deletions
diff --git a/pkgs/applications/misc/imag/default.nix b/pkgs/applications/misc/imag/default.nix
deleted file mode 100644
index d923dc9bfed..00000000000
--- a/pkgs/applications/misc/imag/default.nix
+++ /dev/null
@@ -1,61 +0,0 @@
-{ lib, stdenv
-, rustPlatform
-, fetchFromGitHub
-, llvmPackages
-, openssl
-, pkg-config
-, installShellFiles
-, Security
-, gitMinimal
-, util-linuxMinimal
-}:
-
-rustPlatform.buildRustPackage rec {
-  pname = "imag";
-  version = "0.10.1";
-
-  src = fetchFromGitHub {
-    owner = "matthiasbeyer";
-    repo = pname;
-    rev = "v${version}";
-    sha256 = "0f9915f083z5qqcxyavj0w6m973c8m1x7kfb89pah5agryy5mkaq";
-  };
-
-  nativeBuildInputs = [ installShellFiles pkg-config rustPlatform.bindgenHook ];
-  buildInputs = [ openssl ]
-    ++ lib.optional stdenv.isDarwin Security;
-  nativeCheckInputs = [ gitMinimal util-linuxMinimal ];
-
-  cargoSha256 = "1vnrc72g2271i2p847z30kplxmdpi60n3dzpw0s7dahg33g14ai6";
-
-  checkPhase = ''
-    export HOME=$TMPDIR
-    git config --global user.email "nobody@example.com"
-    git config --global user.name "Nobody"
-
-    # UI tests uses executables directly, so we need to build them before
-    # launching the tests
-    cargo build
-  '' + (
-    # CLI uses the presence of a controlling TTY to check if arguments are
-    # passed in stdin, or in the command-line, so we use script to create
-    # a PTY for us.
-    if !stdenv.isDarwin then ''
-      script -qfec "cargo test --workspace"
-    '' else ''
-      script -q "cargo test --workspace"
-    ''
-  );
-
-  postInstall = ''
-    installShellCompletion target/imag.{bash,fish} --zsh target/_imag
-  '';
-
-  meta = with lib; {
-    description = "Commandline personal information management suite";
-    homepage = "https://imag-pim.org/";
-    license = licenses.lgpl21;
-    maintainers = with maintainers; [ Br1ght0ne minijackson ];
-    platforms = platforms.unix;
-  };
-}
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 7cde84f5295..14c0f0002a2 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -652,6 +652,7 @@ mapAliases ({
   idea = throw "'idea' has been renamed to/replaced by 'jetbrains'"; # Converted to throw 2022-02-22
   ike = throw "ike has been removed, because it was unmaintained"; # Added 2022-05-26
   imapproxy = throw "imapproxy has been removed because it did not support a supported openssl version"; # added 2021-12-15
+  imag = throw "'imag' has been removed, upstream gone"; # Added 2023-01-13
   imagemagick7Big = imagemagickBig; # Added 2021-02-22
   imagemagick7 = imagemagick; # Added 2021-02-22
   imagemagick7_light = imagemagick_light; # Added 2021-02-22
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index daec05886d7..6a21d40cc04 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -30072,11 +30072,6 @@ with pkgs;
 
   avalonia-ilspy = callPackage ../applications/misc/avalonia-ilspy { };
 
-  imag = callPackage ../applications/misc/imag {
-    inherit (darwin.apple_sdk.frameworks) Security;
-    openssl = openssl_1_1;
-  };
-
   image-roll = callPackage ../applications/graphics/image-roll { };
 
   imagej = callPackage ../applications/graphics/imagej { };