2016-11-28 12:54:57 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "bftpd";
|
2018-03-31 23:33:46 +01:00
|
|
|
version = "4.9";
|
2016-11-28 12:54:57 +00:00
|
|
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/project/${pname}/${pname}/${name}/${name}.tar.gz";
|
2018-03-31 23:33:46 +01:00
|
|
|
sha256 = "13pjil9cjggpi773m0516lszyqvwzlgcrmmj8yn9nc24rbxwvn6d";
|
2016-11-28 12:54:57 +00:00
|
|
|
};
|
|
|
|
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;
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://bftpd.sf.net/;
|
2016-11-28 12:54:57 +00:00
|
|
|
downloadPage = "http://bftpd.sf.net/download.html";
|
|
|
|
};
|
|
|
|
}
|