depot/third_party/nixpkgs/pkgs/development/python-modules/django-webpack-loader/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

37 lines
784 B
Nix

{ lib
, buildPythonPackage
, django
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "django-webpack-loader";
version = "1.8.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-puZ5gF6WB7Bz7lJwLZtCa6waVGCdlmExqkNMeGAqwFA=";
};
propagatedBuildInputs = [
django
];
# django.core.exceptions.ImproperlyConfigured (path issue with DJANGO_SETTINGS_MODULE?)
doCheck = false;
pythonImportsCheck = [
"webpack_loader"
];
meta = with lib; {
description = "Use webpack to generate your static bundles";
homepage = "https://github.com/owais/django-webpack-loader";
license = with licenses; [ mit ];
maintainers = with maintainers; [ peterromfeldhk ];
};
}