python3: remove some unused stuff.

This commit is contained in:
Kevin Baensch 2020-06-01 02:39:46 +02:00
parent f9c4bb6bd7
commit a138cd13bd
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 2 additions and 51 deletions

View file

@ -1,28 +0,0 @@
{ stdenv, buildPythonPackage, fetchPypi, substituteAll,
isPy3k,
asgiref, pytz, sqlparse
}:
buildPythonPackage rec {
pname = "Django";
version = "3.0.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1jjih2x6kyp89kc5p98f30pm2isc2phf35qdhs9hhf8i3vw7adcc";
};
propagatedBuildInputs = [ asgiref pytz sqlparse ];
# too complicated to setup
doCheck = false;
meta = with stdenv.lib; {
description = "A high-level Python Web framework";
homepage = https://www.djangoproject.com/;
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}

View file

@ -1,5 +1,7 @@
{ config, lib, pkgs, ... }:
with lib;
let
fn = import ../fn.nix { inherit lib; };
gitpkgs = import /nixpkgs {};
@ -8,9 +10,7 @@ in {
config.machine.pkgsets.python3.pkgs = with pkgs.python38Packages; [
GitPython
bpython
# cairosvg cairocffi
configparser
pkgs.django3
emoji
epc
flake8
@ -39,26 +39,5 @@ in {
toolz
virtualenv
xdot
# flask
# flask-common
# flask-compress
# flask-cors
# flask-limiter
# flask-pymongo
# flask-restful
# flask-restplus
# flask_assets
# flask_elastic
# flask_login
# flask_mail
# flask_marshmallow
# flask_migrate
# flask_oauthlib
# flask_principal
# flask_script
# flask_sqlalchemy
# flask_testing
# flask_wtf
# flaskbabel
];
}