Merge staging-next into staging
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -297,6 +297,9 @@ in buildPythonPackage rec {
|
||||
install_name_tool -change @rpath/libc10.dylib $lib/lib/libc10.dylib $lib/lib/libshm.dylib
|
||||
'';
|
||||
|
||||
# Builds in 2+h with 2 cores, and ~15m with a big-parallel builder.
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source, prototype-to-production deep learning platform";
|
||||
homepage = "https://pytorch.org/";
|
||||
|
||||
Reference in New Issue
Block a user