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