Merge pull request #249734 from WolfangAukang/remove-signumoneks
signumone-ks: remove
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
{ lib, stdenv, fetchurl, dpkg, autoPatchelfHook, makeWrapper,
|
||||
atk, ffmpeg, gdk-pixbuf, gtk3, libXtst }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "signumone-ks";
|
||||
version = "3.1.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn-dist.signum.one/${version}/${pname}-${version}.deb";
|
||||
sha256 = "00wlya3kb6qac2crflm86km9r48r29bvngjq1wgzj9w2xv0q32b9";
|
||||
};
|
||||
|
||||
# Necessary to avoid using multiple ffmpeg and gtk libs
|
||||
autoPatchelfIgnoreMissingDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
dpkg
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
atk gdk-pixbuf ffmpeg
|
||||
gtk3 libXtst
|
||||
];
|
||||
|
||||
libPath = lib.makeLibraryPath buildInputs;
|
||||
|
||||
unpackPhase = ''
|
||||
dpkg-deb -x ${src} ./
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
DESKTOP_PATH=$out/share/applications/signumone-ks.desktop
|
||||
|
||||
mkdir -p $out/bin $out/share/applications
|
||||
mv opt/SignumOne-KS/SignumOne-KS.desktop $DESKTOP_PATH
|
||||
mv opt $out
|
||||
|
||||
substituteInPlace $DESKTOP_PATH --replace 'Exec=/opt/SignumOne-KS' Exec=$out/bin
|
||||
substituteInPlace $DESKTOP_PATH --replace 'Icon=' Icon=$out
|
||||
|
||||
makeWrapper $out/opt/SignumOne-KS/SignumOne-KS \
|
||||
$out/bin/SignumOne-KS \
|
||||
--prefix LD_LIBRARY_PATH : ${libPath}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Digital signature tool for Costa Rican electronic invoicing";
|
||||
homepage = "https://signum.one/download.html";
|
||||
sourceProvenance = with sourceTypes; [
|
||||
binaryBytecode
|
||||
binaryNativeCode
|
||||
];
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
@@ -1583,6 +1583,7 @@ mapAliases ({
|
||||
shipyard = jumppad; # Added 2023-06-06
|
||||
sickbeard = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
|
||||
sickrage = throw "sickbeard has been removed from nixpkgs, as it was unmaintained"; # Added 2022-01-01
|
||||
signumone-ks = throw "signumone-ks has been removed from nixpkgs because the developers stopped offering the binaries"; # Added 2023-08-17
|
||||
sigurlx = throw "sigurlx has been removed (upstream is gone)"; # Added 2022-01-24
|
||||
skrooge2 = throw "'skrooge2' has been renamed to/replaced by 'skrooge'"; # Converted to throw 2022-02-22
|
||||
skype = throw "'skype' has been renamed to/replaced by 'skypeforlinux'"; # Converted to throw 2022-02-22
|
||||
|
||||
@@ -12996,8 +12996,6 @@ with pkgs;
|
||||
# aka., pgp-tools
|
||||
signing-party = callPackage ../tools/security/signing-party { };
|
||||
|
||||
signumone-ks = callPackage ../applications/misc/signumone-ks { };
|
||||
|
||||
sigtop = callPackage ../tools/backup/sigtop { };
|
||||
|
||||
silc_client = callPackage ../applications/networking/instant-messengers/silc-client { };
|
||||
|
||||
Reference in New Issue
Block a user