Merge pull request #24492 from ndowens/parcellite

parcellite: 1.1.9 -> 1.2.1

authored by

Tim Steinbach and committed by
GitHub
b6252523 5c28f26b

+15 -10
+15 -10
pkgs/tools/misc/parcellite/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk2 }: 1 + { stdenv, fetchFromGitHub, autoreconfHook 2 + , gtk2, intltool, pkgconfig }: 2 3 3 4 stdenv.mkDerivation rec { 4 - name = "parcellite-1.1.9"; 5 + name = "parcellite-${version}"; 6 + version = "1.2.1"; 5 7 6 - src = fetchurl { 7 - url = "mirror://sourceforge/parcellite/${name}.tar.gz"; 8 - sha256 = "1m0igxny8f8hlbwcbsr4vg08808sqwy05h61ia2bxsrf122rba6b"; 8 + src = fetchFromGitHub { 9 + owner = "rickyrockrat"; 10 + repo = "parcellite"; 11 + rev = version; 12 + sha256 = "19q4x6x984s6gxk1wpzaxawgvly5vnihivrhmja2kcxhzqrnfhiy"; 9 13 }; 10 14 11 - buildInputs = [ pkgconfig intltool gtk2 ]; 15 + nativeBuildInputs = [ autoreconfHook intltool pkgconfig ]; 16 + buildInputs = [ gtk2 ]; 12 17 13 - meta = { 18 + meta = with stdenv.lib; { 14 19 description = "Lightweight GTK+ clipboard manager"; 15 - homepage = "http://parcellite.sourceforge.net"; 16 - license = stdenv.lib.licenses.gpl3Plus; 17 - platforms = stdenv.lib.platforms.linux; 20 + homepage = https://github.com/rickyrockrat/parcellite; 21 + license = licenses.gpl3Plus; 22 + platforms = platforms.linux; 18 23 }; 19 24 }