2011-02-19 09:56:35 +00:00
|
|
|
x@{builderDefsPackage
|
2015-01-18 15:19:57 +00:00
|
|
|
, fuse, samba, pkgconfig, glib
|
2011-02-19 09:56:35 +00:00
|
|
|
, ...}:
|
|
|
|
builderDefsPackage
|
|
|
|
(a :
|
|
|
|
let
|
|
|
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
|
|
[];
|
|
|
|
|
|
|
|
buildInputs = map (n: builtins.getAttr n x)
|
|
|
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
|
|
|
sourceInfo = rec {
|
|
|
|
baseName="smbnetfs";
|
|
|
|
dirBaseName="SMBNetFS";
|
2015-01-18 15:19:57 +00:00
|
|
|
version = "0.6.0";
|
2011-02-19 09:56:35 +00:00
|
|
|
name="${baseName}-${version}";
|
|
|
|
project="${baseName}";
|
|
|
|
url="mirror://sourceforge/project/${project}/${baseName}/${dirBaseName}-${version}/${name}.tar.bz2";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = a.fetchurl {
|
|
|
|
url = sourceInfo.url;
|
2015-01-18 15:19:57 +00:00
|
|
|
sha256 = "16sikr81ipn8v1a1zrqgnsy2as3zcaxbzkr0bm5vxy012bq0plkd";
|
2011-02-19 09:56:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit (sourceInfo) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A FUSE FS for mounting Samba shares";
|
|
|
|
maintainers = with a.lib.maintainers;
|
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
|
|
|
platforms = with a.lib.platforms;
|
|
|
|
linux;
|
|
|
|
license = a.lib.licenses.gpl2;
|
2014-08-31 19:54:37 +01:00
|
|
|
downloadPage = "http://sourceforge.net/projects/smbnetfs/files/smbnetfs";
|
|
|
|
updateWalker = true;
|
|
|
|
inherit version;
|
2011-02-19 09:56:35 +00:00
|
|
|
};
|
|
|
|
}) x
|
|
|
|
|