mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nix-repo.git
synced 2024-11-23 04:31:26 +00:00
import fetchers?
This commit is contained in:
parent
0a2fa826db
commit
8b1d08f3aa
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue