lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

imgurbash: add package

+29
+27
pkgs/tools/graphics/imgurbash/default.nix
··· 1 + { stdenv, fetchurl, bash, curl, xsel }: 2 + 3 + stdenv.mkDerivation { 4 + name = "imgurbash-4"; 5 + 6 + src = fetchurl { 7 + url = "https://imgur.com/tools/imgurbash.sh"; 8 + sha256 = "16m7dn5vqzx1q4pzssnwiwajfzrbhrz0niyhf5abxi1lwr3h0ca1"; 9 + }; 10 + 11 + buildCommand = '' 12 + mkdir -p $out/bin 13 + cat <<EOF >$out/bin/imgurbash 14 + #!${bash}/bin/bash 15 + PATH=${stdenv.lib.makeSearchPath "bin" [curl xsel]}:\$PATH 16 + EOF 17 + cat $src >>$out/bin/imgurbash 18 + chmod +x $out/bin/imgurbash 19 + ''; 20 + 21 + meta = with stdenv.lib; { 22 + description = "A simple bash script to upload an image to imgur from the commandline"; 23 + license = licenses.publicDomain; 24 + platforms = platforms.linux; 25 + maintainers = with maintainers; [ abbradar ]; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 1892 1892 inherit (perlPackages) MailIMAPClient; 1893 1893 }; 1894 1894 1895 + imgurbash = callPackage ../tools/graphics/imgurbash { }; 1896 + 1895 1897 inadyn = callPackage ../tools/networking/inadyn { }; 1896 1898 1897 1899 inetutils = callPackage ../tools/networking/inetutils { };