Merge pull request #22412 from makefu/exfat-nofuse
exfat-nofuse: init at 2017-01-03
This commit is contained in:
commit
a8e32d68b5
31
pkgs/os-specific/linux/exfat/default.nix
Normal file
31
pkgs/os-specific/linux/exfat/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, kernel }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "exfat-nofuse-${version}-${kernel.version}";
|
||||||
|
version = "2017-01-03";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dorimanx";
|
||||||
|
repo = "exfat-nofuse";
|
||||||
|
rev = "8d291f5";
|
||||||
|
sha256 = "0lg1mykglayswli2aliw8chsbr4g629v9chki5975avh43jn47w9";
|
||||||
|
};
|
||||||
|
|
||||||
|
hardeningDisable = [ "pic" ];
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -m644 -b -D exfat.ko $out/lib/modules/${kernel.modDirVersion}/kernel/fs/exfat/exfat.ko
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "exfat kernel module";
|
||||||
|
homepage = https://github.com/dorimanx/exfat-nofuse;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ makefu ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -11328,6 +11328,8 @@ with pkgs;
|
|||||||
|
|
||||||
dpdk = callPackage ../os-specific/linux/dpdk { };
|
dpdk = callPackage ../os-specific/linux/dpdk { };
|
||||||
|
|
||||||
|
exfat-nofuse = callPackage ../os-specific/linux/exfat { };
|
||||||
|
|
||||||
pktgen = callPackage ../os-specific/linux/pktgen { };
|
pktgen = callPackage ../os-specific/linux/pktgen { };
|
||||||
|
|
||||||
odp-dpdk = callPackage ../os-specific/linux/odp-dpdk { };
|
odp-dpdk = callPackage ../os-specific/linux/odp-dpdk { };
|
||||||
|
Loading…
Reference in New Issue
Block a user