add musicutil

This commit is contained in:
ChaotiCryptidz 2022-02-07 11:14:09 +00:00
parent d16b05a955
commit d9d2504f0e
5 changed files with 35 additions and 0 deletions

1
home/apps/musicutil.nix Normal file
View file

@ -0,0 +1 @@
{ config, pkgs, ... }: { home.packages = with pkgs; [ musicutil ]; }

View file

@ -63,6 +63,7 @@
home.apps.file-roller
home.apps.nautilus
home.apps.nicotine-plus
home.apps.musicutil
home.programming
home.programming.languages.go

View file

@ -12,4 +12,7 @@ final: prev: {
};
roc-toolkit-patched = final.callPackage ./roc-toolkit-patched { };
roc-send-pcm = final.callPackage ./roc-send-pcm { };
musicutil = final.python3Packages.callPackage ./musicutil {
fold-to-ascii = final.python3Packages.callPackage ./fold-to-ascii {};
};
}

View file

@ -0,0 +1,12 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "fold-to-ascii";
version = "1.0.2.post1";
src = fetchPypi {
pname = "fold_to_ascii";
inherit version;
sha256 = "sha256-cWegf9wjC9XfU4HpIh/iRtDv86hutn45NfkfWuyjUzo=";
};
}

View file

@ -0,0 +1,18 @@
{ stdenv, fetchFromGitLab, lib, python3Packages, mutagen, fold-to-ascii, pyyaml }:
python3Packages.buildPythonApplication rec {
pname = "musicutil";
version = "latest";
rev = "9880c175a679bf4450745dc91fb18fb88e0a4fd6";
src = fetchFromGitLab {
owner = "ChaotiCryptidz";
repo = "musicutil";
inherit rev;
sha256 = "sha256-pvDxVeCNZy3TKfbFds4QSQPR2lYZR+RZrwBHI+Pfj+w=";
#sha256 = lib.fakeSha256;
};
doCheck = false;
propagatedBuildInputs = [ mutagen fold-to-ascii pyyaml ];
}