mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 06:31:20 +00:00
mergerfs: 2.24.0 -> 2.24.2
Remove .git because it tend to break hashes.
This commit is contained in:
parent
94d68a9e59
commit
ca6a4bf05d
@ -1,21 +1,28 @@
|
||||
{ stdenv, fetchgit, autoconf, automake, pkgconfig, gettext, libtool, git, pandoc, which, attr, libiconv }:
|
||||
{ stdenv, fetchFromGitHub, automake, autoconf, pkgconfig, gettext, libtool, pandoc, which, attr, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mergerfs-${version}";
|
||||
version = "2.24.0";
|
||||
version = "2.24.2";
|
||||
|
||||
# not using fetchFromGitHub because of changelog being built with git log
|
||||
src = fetchgit {
|
||||
url = "https://github.com/trapexit/mergerfs";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "12ci1i5zkarl1rz0pq1ldw0fpp4yfj8vz36jij63am7w7gp7qly2";
|
||||
deepClone = true;
|
||||
leaveDotGit = true;
|
||||
src = fetchFromGitHub {
|
||||
owner = "trapexit";
|
||||
repo = "mergerfs";
|
||||
rev = version;
|
||||
sha256 = "0i65v7900s7c9jkj3a4v44vf3r5mvjkbcic3df940nmk0clahhcs";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoconf automake pkgconfig gettext libtool git pandoc which ];
|
||||
nativeBuildInputs = [
|
||||
automake autoconf pkgconfig gettext libtool pandoc which
|
||||
];
|
||||
buildInputs = [ attr libiconv ];
|
||||
|
||||
preConfigure = ''
|
||||
cat > src/version.hpp <<EOF
|
||||
#pragma once
|
||||
static const char MERGERFS_VERSION[] = "${version}";
|
||||
EOF
|
||||
'';
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ];
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user