Merge pull request #119753 from evils/btrfs-heatmap

This commit is contained in:
Sandro
2021-04-26 05:30:43 +02:00
committed by GitHub
2 changed files with 19 additions and 17 deletions

View File

@@ -1,17 +1,23 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "btrfs";
version = "11";
version = "12";
src = fetchPypi {
inherit pname version;
sha256 = "1w92sj47wy53ygz725xr613k32pk5khi0g9lrpp6img871241hrx";
src = fetchFromGitHub {
owner = "knorrie";
repo = "python-btrfs";
rev = "v${version}";
sha256 = "sha256-ZQSp+pbHABgBTrCwC2YsUUXAf/StP4ny7MEhBgCRqgE=";
};
# no tests (in v12)
doCheck = false;
pythonImportsCheck = [ "btrfs" ];
meta = with lib; {
description = "Inspect btrfs filesystems";
homepage = "https://github.com/knorrie/python-btrfs";