diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-10 04:30:16 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-12 04:07:36 +0300 |
commit | 59bed14119a2842947e948efbd696c51616cb687 (patch) | |
tree | 3684d77b21a5ca476a50fca098ccab0365b01f56 /pkgs/tools/graphics/imgurbash/default.nix | |
parent | d2dba02a87326c312884ac2095d7621932ff3e9f (diff) | |
download | nixlib-59bed14119a2842947e948efbd696c51616cb687.tar nixlib-59bed14119a2842947e948efbd696c51616cb687.tar.gz nixlib-59bed14119a2842947e948efbd696c51616cb687.tar.bz2 nixlib-59bed14119a2842947e948efbd696c51616cb687.tar.lz nixlib-59bed14119a2842947e948efbd696c51616cb687.tar.xz nixlib-59bed14119a2842947e948efbd696c51616cb687.tar.zst nixlib-59bed14119a2842947e948efbd696c51616cb687.zip |
imgurbash2: init at 1.0; also drop imgurbash
Diffstat (limited to 'pkgs/tools/graphics/imgurbash/default.nix')
-rw-r--r-- | pkgs/tools/graphics/imgurbash/default.nix | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/pkgs/tools/graphics/imgurbash/default.nix b/pkgs/tools/graphics/imgurbash/default.nix deleted file mode 100644 index 66f85af87935..000000000000 --- a/pkgs/tools/graphics/imgurbash/default.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ stdenv, fetchurl, bash, curl, xsel }: - -stdenv.mkDerivation { - name = "imgurbash-4"; - - src = fetchurl { - url = "https://imgur.com/tools/imgurbash.sh"; - sha256 = "16m7dn5vqzx1q4pzssnwiwajfzrbhrz0niyhf5abxi1lwr3h0ca1"; - }; - - buildCommand = '' - mkdir -p $out/bin - cat <<EOF >$out/bin/imgurbash - #!${bash}/bin/bash - PATH=${stdenv.lib.makeSearchPath "bin" [curl xsel]}:\$PATH - EOF - cat $src >>$out/bin/imgurbash - chmod +x $out/bin/imgurbash - ''; - - meta = with stdenv.lib; { - description = "A simple bash script to upload an image to imgur from the commandline"; - license = licenses.publicDomain; - platforms = platforms.linux; - maintainers = with maintainers; [ abbradar ]; - }; -} |