add musicutil
This commit is contained in:
parent
d16b05a955
commit
d9d2504f0e
1
home/apps/musicutil.nix
Normal file
1
home/apps/musicutil.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ config, pkgs, ... }: { home.packages = with pkgs; [ musicutil ]; }
|
|
@ -63,6 +63,7 @@
|
|||
home.apps.file-roller
|
||||
home.apps.nautilus
|
||||
home.apps.nicotine-plus
|
||||
home.apps.musicutil
|
||||
|
||||
home.programming
|
||||
home.programming.languages.go
|
||||
|
|
|
@ -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 {};
|
||||
};
|
||||
}
|
||||
|
|
12
overlay/fold-to-ascii/default.nix
Normal file
12
overlay/fold-to-ascii/default.nix
Normal 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=";
|
||||
};
|
||||
}
|
18
overlay/musicutil/default.nix
Normal file
18
overlay/musicutil/default.nix
Normal 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 ];
|
||||
}
|
Loading…
Reference in a new issue