Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / dj-static / default.nix
blob167fbf88bd51f2b12f0692a9b041c3ee6d5987b7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , django
5 , static3
6 }:
8 buildPythonPackage rec {
9   pname = "dj-static";
10   version = "0.0.6";
11   format = "setuptools";
13   src = fetchFromGitHub {
14     owner = "heroku-python";
15     repo = "dj-static";
16     rev = "v${version}";
17     hash = "sha256-B6TydlezbDkmfFgJjdFniZIYo/JjzPvFj43co+HYCdc=";
18   };
20   buildInputs = [
21     django
22   ];
24   propagatedBuildInputs = [
25     static3
26   ];
28   pythonImportsCheck = [
29     "dj_static"
30   ];
32   doCheck = false;
34   meta = with lib; {
35     description = "Serve production static files with Django";
36     homepage = "https://github.com/heroku-python/dj-static";
37     license = licenses.bsd2;
38     maintainers = with maintainers; [ hexa ];
39   };