mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Adding SMBNetFS
svn path=/nixpkgs/trunk/; revision=26030
This commit is contained in:
parent
293caf43c4
commit
1ff642f723
2 changed files with 52 additions and 0 deletions
50
pkgs/tools/filesystems/smbnetfs/default.nix
Normal file
50
pkgs/tools/filesystems/smbnetfs/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
x@{builderDefsPackage
|
||||
, fuse, samba, pkgconfig
|
||||
, ...}:
|
||||
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";
|
||||
version="0.5.3a";
|
||||
name="${baseName}-${version}";
|
||||
project="${baseName}";
|
||||
url="mirror://sourceforge/project/${project}/${baseName}/${dirBaseName}-${version}/${name}.tar.bz2";
|
||||
hash="0fzlw11y2vkxmjzz3qcypqlvz074v6a3pl4pyffbniqal64qgrsw";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://sourceforge.net/projects/smbnetfs/files/smbnetfs";
|
||||
};
|
||||
};
|
||||
}) x
|
||||
|
|
@ -1236,6 +1236,8 @@ let
|
|||
slsnif = callPackage ../tools/misc/slsnif { };
|
||||
|
||||
smartmontools = callPackage ../tools/system/smartmontools { };
|
||||
|
||||
smbnetfs = callPackage ../tools/filesystems/smbnetfs {};
|
||||
|
||||
fusesmb = callPackage ../tools/filesystems/fusesmb { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue