Merge pull request #231953 from mweinelt/dj-static-0.0.6

python310Packages.dj-static: init at 0.0.6
This commit is contained in:
Martin Weinelt
2023-05-16 00:29:42 +02:00
committed by GitHub
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, static3
}:
buildPythonPackage rec {
pname = "dj-static";
version = "0.0.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "heroku-python";
repo = "dj-static";
rev = "v${version}";
hash = "sha256-B6TydlezbDkmfFgJjdFniZIYo/JjzPvFj43co+HYCdc=";
};
buildInputs = [
django
];
propagatedBuildInputs = [
static3
];
pythonImportsCheck = [
"dj_static"
];
doCheck = false;
meta = with lib; {
description = "Serve production static files with Django";
homepage = "https://github.com/heroku-python/dj-static";
license = licenses.bsd2;
maintainers = with maintainers; [ hexa ];
};
}
+2
View File
@@ -2848,6 +2848,8 @@ self: super: with self; {
dj-search-url = callPackage ../development/python-modules/dj-search-url { };
dj-static = callPackage ../development/python-modules/dj-static { };
dkimpy = callPackage ../development/python-modules/dkimpy { };
dlib = callPackage ../development/python-modules/dlib {