btrsync: init at 0.3 (#484131)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user