3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/ftp/bftpd/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

25 lines
749 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "bftpd";
version = "4.4";
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
src = fetchurl {
url = "mirror://sourceforge/project/${pname}/${pname}/${name}/${name}.tar.gz";
sha256 = "0hgpqwv7mj1yln8ps9bbcjhl5hvs02nxjfkk9nhkr6fysfyyn1dq";
};
buildInputs = [];
preConfigure = ''
sed -re 's/-[og] 0//g' -i Makefile*
'';
meta = {
inherit version;
description = ''A minimal ftp server'';
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = http://bftpd.sf.net/;
downloadPage = "http://bftpd.sf.net/download.html";
};
}