nixfmt shell.nix

This commit is contained in:
Jeffrey Serio 2024-09-02 14:26:26 -05:00
parent 0a76a5837a
commit ac5741d7b7

View File

@ -1,11 +1,11 @@
with import <nixpkgs> {}; with import <nixpkgs> { };
let let
python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec { python-qbittorrent = pkgs.python312Packages.buildPythonPackage rec {
name = "python-qbittorrent-${version}"; name = "python-qbittorrent-${version}";
version = "0.4.3"; version = "0.4.3";
src = pkgs.fetchurl{ src = pkgs.fetchurl {
url = "https://files.pythonhosted.org/packages/86/25/a5ad35ad229c8016a8c98327495e649cb795be2fda63f8cace6c9a739af7/python-qbittorrent-${version}.tar.gz"; url = "https://files.pythonhosted.org/packages/86/25/a5ad35ad229c8016a8c98327495e649cb795be2fda63f8cace6c9a739af7/python-qbittorrent-${version}.tar.gz";
sha256 = "4e22cf89890628b054a60aa4bd1161a68c2b0fad48ef0886fa4d325e69d3828a"; sha256 = "4e22cf89890628b054a60aa4bd1161a68c2b0fad48ef0886fa4d325e69d3828a";
}; };
@ -23,7 +23,8 @@ let
]; ];
}; };
in mkShell { in
mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
python312Packages.beautifulsoup4 python312Packages.beautifulsoup4
python312Packages.black python312Packages.black
@ -37,4 +38,3 @@ in mkShell {
python-qbittorrent python-qbittorrent
]; ];
} }