Compare commits

...

1 commit

Author SHA1 Message Date
Benson Chu
eda4eb0920 FileTote? 2024-08-04 15:39:13 -05:00
2 changed files with 40 additions and 3 deletions

View file

@ -92,12 +92,13 @@
(beets.override {
pluginOverrides = {
extrafiles = {
filetote = {
enable = true;
propagatedBuildInputs = [ beetsPackages.extrafiles ];
propagatedBuildInputs = [ (callPackage ../packages/beets-filetote.nix { beets = beetsPackages.beets-minimal; }) ];
};
};
})
}
)
(gnuplot.override { withQt = true; })
];

View file

@ -0,0 +1,36 @@
{ lib, fetchFromGitHub, beets, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "beets-filetote";
version = "0.4.9";
pyproject = true;
src = fetchFromGitHub {
repo = "${pname}";
owner = "gtronset";
rev = "v${version}";
sha256 = "sha256-pZ6c2XQMSiiPHyZMLSiSE+LXeCfi3HEWtsTK5DP9YZE=";
};
nativeBuildInputs = [
beets
python3Packages.poetry-core
];
nativeCheckInputs = with python3Packages; [
pytestCheckHook
pytest-cov
mock
typeguard
];
preCheck = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
description = "Beets plugin that manages non-music extra files";
homepage = "https://github.com/gtronset/beets-filetote";
# maintainers = with maintainers; [ aszlig lovesegfault ];
license = licenses.mit;
};
}