tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
s3fs: minor cleanups
Peter Hoeg
9 years ago
23004ec6
86b840d8
+15
-8
1 changed file
expand all
collapse all
unified
split
pkgs
tools
filesystems
s3fs
default.nix
+15
-8
pkgs/tools/filesystems/s3fs/default.nix
···
1
-
{stdenv, fetchurl, autoconf, automake, pkgconfig, curl, openssl, libxml2, fuse}:
2
3
-
stdenv.mkDerivation {
4
-
name = "s3fs-fuse-1.80";
0
5
6
-
src = fetchurl {
7
-
url = https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.80.tar.gz;
8
-
sha256 = "0ddx5khlyyrxm4s8is4gqbczmrcivj11hmkk9s893r3kpp4q30yy";
0
0
9
};
10
11
-
preConfigure = "./autogen.sh";
12
-
buildInputs = [ autoconf automake pkgconfig curl openssl libxml2 fuse ];
0
0
0
0
13
14
postInstall = ''
15
ln -s $out/bin/s3fs $out/bin/mount.s3fs
···
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, curl, openssl, libxml2, fuse }:
2
3
+
stdenv.mkDerivation rec {
4
+
name = "s3fs-fuse-${version}";
5
+
version = "1.80";
6
7
+
src = fetchFromGitHub {
8
+
owner = "s3fs-fuse";
9
+
repo = "s3fs-fuse";
10
+
rev = "v${version}";
11
+
sha256 = "0yikqpdyjibbb36rj4118lv9nxgp9f5jhydzxijzxrzw29ypvw76";
12
};
13
14
+
buildInputs = [ curl openssl libxml2 fuse ];
15
+
nativeBuildInputs = [ autoreconfHook pkgconfig ];
16
+
17
+
configureFlags = [
18
+
"--with-openssl"
19
+
];
20
21
postInstall = ''
22
ln -s $out/bin/s3fs $out/bin/mount.s3fs