summary refs log tree commit diff
path: root/pkgs/development/python-modules/django-shortuuidfield/default.nix
blob: dd999963a11508e73443a8662b8ad422f7a4e197 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, django
, fetchPypi
, shortuuid
, six
}:

buildPythonPackage rec {
  pname = "django-shortuuidfield";
  version = "0.1.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-opLA/lU4q+lHsTHiuRTt2axEr8xqQOrscUSOYjGj7wA=";
  };

  propagatedBuildInputs = [
    django
    shortuuid
    six
  ];

  # no tests
  doCheck = false;

  pythonImportsCheck = [
    "shortuuidfield"
  ];

  meta = with lib; {
    description = "Short UUIDField for Django. Good for use in urls & file names";
    homepage = "https://github.com/benrobster/django-shortuuidfield";
    license = licenses.bsd3;
    maintainers = with maintainers; [ derdennisop ];
  };
}