···1-{ lib, stdenv, fetchgit, curl }:
23stdenv.mkDerivation {
4 pname = "metar";
5- version = "20161013.1";
67- src = fetchgit {
8- url = "https://github.com/keesL/metar.git";
09 rev = "20e9ca69faea330f6c2493b6829131c24cb55147";
10 sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj";
11 };
···1415 meta = with lib; {
16 homepage = "https://github.com/keesL/metar";
17- license = licenses.gpl2;
18- maintainers = [ maintainers.zalakain ];
19 description = "Downloads weather reports and optionally decodes them";
20 longDescription = ''
21 METAR reports are meteorogical weather reports for aviation. Metar is a small
···27 more work in the area of clouds need to be done, as support for Cumulus or
28 Cumulunimbus is not yet decoded.
29 '';
0030 };
31}
···1+{ lib, stdenv, fetchFromGitHub, curl }:
23stdenv.mkDerivation {
4 pname = "metar";
5+ version = "unstable-2017-02-17";
67+ src = fetchFromGitHub {
8+ owner = "keesL";
9+ repo = "metar";
10 rev = "20e9ca69faea330f6c2493b6829131c24cb55147";
11 sha256 = "1fgrlnpasqf1ihh9y6zy6mzzybqx0lxvh7gmv03rjdb55dr42dxj";
12 };
···1516 meta = with lib; {
17 homepage = "https://github.com/keesL/metar";
0018 description = "Downloads weather reports and optionally decodes them";
19 longDescription = ''
20 METAR reports are meteorogical weather reports for aviation. Metar is a small
···26 more work in the area of clouds need to be done, as support for Cumulus or
27 Cumulunimbus is not yet decoded.
28 '';
29+ license = licenses.gpl2Plus;
30+ maintainers = with maintainers; [ zalakain ];
31 };
32}
+11-10
pkgs/applications/misc/procmail/default.nix
···4 pname = "procmail";
5 version = "3.22";
6000007 patches = [
8 ./CVE-2014-3618.patch
9 (fetchurl {
···16 # getline is defined differently in glibc now. So rename it.
17 # Without the .PHONY target "make install" won't install anything on Darwin.
18 postPatch = ''
19- sed -e "s%^RM.*$%#%" -i Makefile
20- sed -e "s%^BASENAME.*%\BASENAME=$out%" -i Makefile
21- sed -e "s%^LIBS=.*%LIBS=-lm%" -i Makefile
22- sed -e "s%getline%thisgetline%g" -i src/*.c src/*.h
23- sed -e "3i\
024 .PHONY: install
25 " -i Makefile
26 '';
27-28- src = fetchurl {
29- url = "ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/procmail-${version}.tar.gz";
30- sha256 = "05z1c803n5cppkcq99vkyd5myff904lf9sdgynfqngfk9nrpaz08";
31- };
3233 meta = with lib; {
34 description = "Mail processing and filtering utility";
···4 pname = "procmail";
5 version = "3.22";
67+ src = fetchurl {
8+ url = "ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/procmail-${version}.tar.gz";
9+ sha256 = "05z1c803n5cppkcq99vkyd5myff904lf9sdgynfqngfk9nrpaz08";
10+ };
11+12 patches = [
13 ./CVE-2014-3618.patch
14 (fetchurl {
···21 # getline is defined differently in glibc now. So rename it.
22 # Without the .PHONY target "make install" won't install anything on Darwin.
23 postPatch = ''
24+ sed -i Makefile \
25+ -e "s%^RM.*$%#%" \
26+ -e "s%^BASENAME.*%\BASENAME=$out%" \
27+ -e "s%^LIBS=.*%LIBS=-lm%"
28+ sed -e "s%getline%thisgetline%g" -i src/*.c src/*.h
29+ sed -e "3i\
30 .PHONY: install
31 " -i Makefile
32 '';
000003334 meta = with lib; {
35 description = "Mail processing and filtering utility";