anchor.diff:      volume_key
     ];
   
  -  postPatch = ''
  -    sed -i 's,pkg-config --atleast-version=3.2 libparted,pkg-config --atleast-version=3.3 libparted,' configure.ac
  -  '';
  -
     preConfigure = ''
  -    patchShebangs autogen.sh
  -    ./autogen.sh
  -
       export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${volume_key}/include/volume_key"
     
       patchShebangs scripts/boilerplate_generator.py
  
positive.code: }:
  
  let
    version = "2.15";
  in
  stdenv.mkDerivation rec {
    name = "libblockdev-${version}";
  
    src = fetchFromGitHub {
      version = 5;
      owner = "storaged-project";
      repo = "libblockdev";
      rev = "${version}-1";
      sha256 = "afe068a7d248699c1f5fa7e72bdbcc7f0055edd4eed31bf97dc930b57bc1e053";
    };
  
    nativeBuildInputs = [
      autoconf
      automake
      gobject-introspection
      libtool
      python2
    ];
  
  
negative.code: { stdenv
  , fetchurl
  , gobject-introspection
  , python2
  
  , cryptsetup
  