3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/sorl_thumbnail/default.nix
2021-01-25 18:31:47 +01:00

29 lines
672 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, setuptools_scm
}:
buildPythonPackage rec {
pname = "sorl-thumbnail";
version = "12.7.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "fbe6dfd66a1aceb7e0203895ff5622775e50266f8d8cfd841fe1500bd3e19018";
};
nativeBuildInputs = [ setuptools_scm ];
# Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl.
doCheck = false;
meta = with lib; {
homepage = "https://sorl-thumbnail.readthedocs.org/en/latest/";
description = "Thumbnails for Django";
license = licenses.bsd3;
};
}