Compare commits

...

2 commits

3 changed files with 28 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ self, config, ... } @args: let { self, inputs, config, ... } @args: let
btop = import ./btop args; btop = import ./btop args;
editor = import ./editorconfig args; editor = import ./editorconfig args;
foot = import ./foot args; foot = import ./foot args;
@ -40,6 +40,10 @@ in {
".gitconfig".source = git.file; ".gitconfig".source = git.file;
".ideavimrc".text = jetbrains.ideavimrc; ".ideavimrc".text = jetbrains.ideavimrc;
".nix".source = self; ".nix".source = self;
".nixpkgs".source = inputs.nixpkgs;
# TODO: Add after migrating to stable.
# ".nixpkgs_unstable".source = inputs.nixpkgs;
# ".nixpkgs_master".source = inputs.nixpkgs;
".parallel/will-cite".text = ""; ".parallel/will-cite".text = "";
".ssh/config".text = ssh.text; ".ssh/config".text = ssh.text;
".template".source = ./template; ".template".source = ./template;

View file

@ -55,6 +55,7 @@
zip unzip # Zip archive/unarchive tools. zip unzip # Zip archive/unarchive tools.
# (pkgs.callPackage ./ytdlp {}) # (pkgs.callPackage ./ytdlp {})
(pkgs.callPackage ./yamusicdownload {})
]; ];
desktop = with pkgs; [ desktop = with pkgs; [

View file

@ -0,0 +1,22 @@
{ pkgs, ... }: with pkgs.python3Packages; buildPythonPackage {
version = "1.0.0";
pname = "yandex-music-downloader";
format = "pyproject";
propagatedBuildInputs = [
setuptools
setuptools-git
requests
eyed3
browser-cookie3
];
src = pkgs.fetchFromGitHub {
owner = "llistochek";
repo = "yandex-music-downloader";
rev = "08ea384869cbc31efb1e78b831e2356882219951";
hash = "sha256-WOFesD7HjskyqHaXZAPy3pgSPaEO+tOyQ+5MV3ZO7XU=";
};
meta.mainProgram = "yandex-music-downloader";
}