import fetchers?

This commit is contained in:
Inex Code 2022-08-12 18:43:06 +04:00
parent 0a2fa826db
commit 8b1d08f3aa

View file

@ -1,3 +1,4 @@
{ lib, fetchFromGitHub, fetchpatch }:
let
pkgs = import <nixpkgs> { };
in
@ -26,7 +27,7 @@ self: super: rec {
pname = "starlette";
version = "0.19.0";
format = "setuptools";
src = python-super.fetchFromGitHub {
src = fetchFromGitHub {
owner = "encode";
repo = pname;
rev = version;
@ -69,7 +70,7 @@ self: super: rec {
pname = "fastapi";
version = "0.75.2";
format = "flit";
src = python-super.fetchFromGitHub {
src = fetchFromGitHub {
owner = "tiangolo";
repo = pname;
rev = version;
@ -97,7 +98,7 @@ self: super: rec {
patches = [
# Bump starlette, https://github.com/tiangolo/fastapi/pull/4483
(python-super.fetchpatch {
(fetchpatch {
name = "support-later-starlette.patch";
# PR contains multiple commits
url = "https://patch-diff.githubusercontent.com/raw/tiangolo/fastapi/pull/4483.patch";