libblockdev: init at 2.17

authored by Jan Tojnar and committed by Florian Klink 058b0e7a 1034ef21

+41
+39
pkgs/development/libraries/libblockdev/default.nix
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, libxslt, docbook_xsl 2 + , docbook_xml_dtd_43, python3, gobjectIntrospection, glib, libudev, kmod, parted 3 + , cryptsetup, devicemapper, dmraid, utillinux, libbytesize, libndctl, nss, volume_key 4 + }: 5 + 6 + let 7 + version = "2.17"; 8 + in stdenv.mkDerivation rec { 9 + name = "libblockdev-${version}"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "storaged-project"; 13 + repo = "libblockdev"; 14 + rev = "${version}-1"; 15 + sha256 = "14f52cj2qcnm8i2zb57qfpdk3kij2gb3xgqkbvidmf6sjicq84z2"; 16 + }; 17 + 18 + outputs = [ "out" "dev" "devdoc" ]; 19 + 20 + postPatch = '' 21 + patchShebangs scripts 22 + ''; 23 + 24 + nativeBuildInputs = [ 25 + autoreconfHook pkgconfig gtk-doc libxslt docbook_xsl docbook_xml_dtd_43 python3 gobjectIntrospection 26 + ]; 27 + 28 + buildInputs = [ 29 + glib libudev kmod parted cryptsetup devicemapper dmraid utillinux libbytesize libndctl nss volume_key 30 + ]; 31 + 32 + meta = with stdenv.lib; { 33 + description = "A library for manipulating block devices"; 34 + homepage = http://storaged.org/libblockdev/; 35 + license = licenses.lgpl2Plus; # lgpl2Plus for the library, gpl2Plus for the utils 36 + maintainers = with maintainers; []; 37 + platforms = platforms.linux; 38 + }; 39 + }
+2
pkgs/top-level/all-packages.nix
··· 9790 9790 9791 9791 libbdplus = callPackage ../development/libraries/libbdplus { }; 9792 9792 9793 + libblockdev = callPackage ../development/libraries/libblockdev { }; 9794 + 9793 9795 libblocksruntime = callPackage ../development/libraries/libblocksruntime { }; 9794 9796 9795 9797 libbluray = callPackage ../development/libraries/libbluray { };