diff options
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/5pkgs/jd-gui/default.nix | 36 | ||||
-rw-r--r-- | makefu/5pkgs/zj-58/default.nix | 30 |
2 files changed, 0 insertions, 66 deletions
diff --git a/makefu/5pkgs/jd-gui/default.nix b/makefu/5pkgs/jd-gui/default.nix deleted file mode 100644 index adefd80dd..000000000 --- a/makefu/5pkgs/jd-gui/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ stdenv, lib, pkgs, fetchurl, jre, makeWrapper, unzip }: -stdenv.mkDerivation rec { - name = "${packageName}-${version}"; - packageName = "jd-gui"; - version = "1.4.0"; - - src = fetchurl { - url = "https://github.com/java-decompiler/jd-gui/releases/download/v${version}/${name}.jar"; - sha256 = "0rvbplkhafb6s9aiwgcq4ffz4bvzyp7q511pd46hx4ahhzfg7lmx"; - }; - - nativeBuildInputs = [ makeWrapper unzip ]; - - phases = [ "installPhase" ]; - - installPhase = '' - f=$out/lib/jd-gui/ - bin=$out/bin - name=$(basename $src) - mkdir -p $f $bin - - # fixup path to java - cp $src $f - cat > $bin/jd-gui <<EOF - #!/bin/sh - exec ${pkgs.jre}/bin/java -jar $f/$name \$@ - EOF - chmod +x $bin/jd-gui - ''; - - meta = { - homepage = https://github.com/java-decompiler/jd-gui; - description = "A standalone Java Decompiler GUI"; - license = lib.licenses.gpl3; - }; -} diff --git a/makefu/5pkgs/zj-58/default.nix b/makefu/5pkgs/zj-58/default.nix deleted file mode 100644 index 6eda84959..000000000 --- a/makefu/5pkgs/zj-58/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{stdenv, fetchFromGitHub, cups}: - -stdenv.mkDerivation rec { - name = "cups-zj58-2018-02-22"; - - src = fetchFromGitHub { - owner = "klirichek"; - repo = "zj-58"; - rev = "e4212cd"; - sha256 = "1w2qkspm4qqg5h8n6gmakzhiww7gag64chvy9kf89xsl3wsyp6pi"; - }; - - buildInputs = [cups]; - - installPhase = '' - mkdir -p $out/lib/cups/filter - - cp rastertozj $out/lib/cups/filter - - - mkdir -p $out/share/cups/model/zjiang - cp ZJ-58.ppd $out/share/cups/model/zjiang/ - ''; - - meta = { - description = "CUPS filter for thermal printer Zjiang ZJ-58"; - homepage = https://github.com/klirichek/zj-58; - platforms = stdenv.lib.platforms.linux; - }; -} |