25 lines
555 B
Nix
25 lines
555 B
Nix
{ pkgs ? import <nixpkgs> { }
|
|
, fetchurl ? pkgs.fetchurl
|
|
, buildPythonPackage ? pkgs.python311Packages.buildPythonPackage
|
|
}:
|
|
buildPythonPackage {
|
|
pname = "shandy-sqlfmt";
|
|
version = "0.21.3";
|
|
format = "wheel";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/tconbeer/sqlfmt/releases/download/v0.21.3/shandy_sqlfmt-0.21.3-py3-none-any.whl";
|
|
sha256 = "sha256-gb/gLAcGD7F/0LL6WllfX1CW4Tug//jNDA0v9O5tedA=";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = with pkgs.python311Packages; [
|
|
black
|
|
flake8
|
|
mypy
|
|
tqdm
|
|
jinja2
|
|
];
|
|
}
|