summary refs log blame commit diff
path: root/pkgs/development/python-modules/btrfs/default.nix
blob: 9bcb8f37330bb2c777fb834144c7882a3da7d7b2 (plain) (tree)
1
2
3
4
5
6
7
8
9
     
                    
           



                        
                 
 


                                                                   

    



                                   
                    



                                                         
                                                      

    
{ lib
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
  pname = "btrfs";
  version = "13";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-NSyzhpHYDkunuU104XnbVCcVRNDoVBz4KuJRrE7WMO0=";
  };

  # no tests (in v12)
  doCheck = false;
  pythonImportsCheck = [ "btrfs" ];

  meta = with lib; {
    description = "Inspect btrfs filesystems";
    homepage = "https://github.com/knorrie/python-btrfs";
    license = licenses.lgpl3Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ evils Luflosi ];
  };
}