nixpkgs/pkgs/tools/filesystems/bcachefs-tools/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

29 lines
903 B
Nix

{ stdenv, pkgs, fetchgit, pkgconfig, attr, libuuid, libscrypt, libsodium, keyutils, liburcu, zlib, libaio }:
stdenv.mkDerivation rec {
name = "bcachefs-tools-unstable-2016-05-13";
src = fetchgit {
url = "https://evilpiepirate.org/git/bcachefs-tools.git";
rev = "565b4a74d6c25c78b0d2b82d9529595fc6269308";
sha256 = "1wnis26hq67vxqkxzck6wm6caq4c1rfmy9blmmgkzlhdd2nzisbx";
};
buildInputs = [ pkgconfig attr libuuid libscrypt libsodium keyutils liburcu zlib libaio ];
preConfigure = ''
substituteInPlace cmd_migrate.c --replace /usr/include/dirent.h ${stdenv.glibc.dev}/include/dirent.h
'';
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Tool for managing bcachefs filesystems";
homepage = http://bcachefs.org/;
license = licenses.gpl2;
maintainers = with maintainers; [ davidak ];
platforms = platforms.linux;
};
}