nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 28 lines 659 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, setuptools-scm 6}: 7 8buildPythonPackage rec { 9 pname = "sorl-thumbnail"; 10 version = "12.8.0"; 11 disabled = isPy27; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "sha256-7io8nwuInlmRk4PTeB8TF9ycSSf7RLIvsUN/b+cFS5Y="; 16 }; 17 18 nativeBuildInputs = [ setuptools-scm ]; 19 # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl. 20 doCheck = false; 21 22 meta = with lib; { 23 homepage = "https://sorl-thumbnail.readthedocs.org/en/latest/"; 24 description = "Thumbnails for Django"; 25 license = licenses.bsd3; 26 }; 27 28}