btrsync: init at 0.3 (#484131)

This commit is contained in:
Sandro
2026-03-01 04:09:06 +00:00
committed by GitHub
3 changed files with 42 additions and 0 deletions
@@ -0,0 +1,38 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
btrfs-progs,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "btrsync";
version = "0.3";
pyproject = true;
src = fetchFromGitHub {
owner = "andreittr";
repo = "btrsync";
tag = "v${version}";
hash = "sha256-1LpHO70Yli9VG1UeqPZWM2qUMUbSbdgNP/r7FhUY/h4=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [ btrfs-progs ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "btrsync" ];
meta = {
description = "Btrfs replication made easy";
homepage = "https://github.com/andreittr/btrsync";
changelog = "https://github.com/andreittr/btrsync/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.gpl3Only;
mainProgram = "btrsync";
maintainers = with lib.maintainers; [ bcyran ];
};
}
+2
View File
@@ -999,6 +999,8 @@ with pkgs;
auditwheel = with python3Packages; toPythonApplication auditwheel;
btrsync = with python3Packages; toPythonApplication btrsync;
davinci-resolve-studio = callPackage ../by-name/da/davinci-resolve/package.nix {
studioVariant = true;
};
+2
View File
@@ -2337,6 +2337,8 @@ self: super: with self; {
btrfsutil = callPackage ../development/python-modules/btrfsutil { };
btrsync = callPackage ../development/python-modules/btrsync { };
btsmarthub-devicelist = callPackage ../development/python-modules/btsmarthub-devicelist { };
btsocket = callPackage ../development/python-modules/btsocket { };