Unverified Commit dde08220 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python310Packages.dj-static: init at 0.0.6

parent 9a5b848a
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
{ 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 −0
Original line number Diff line number Diff line
@@ -2843,6 +2843,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 {