nixpkgs/pkgs/development/python-modules/unicode-slugify/default.nix

30 lines
569 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, nose
, six
, unittest2
, unidecode
}:
buildPythonPackage rec {
pname = "unicode-slugify";
version = "0.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "0l7nphfdq9rgiczbl8n3mra9gx7pxap0xz540pkyz034zbz3mkrl";
};
propagatedBuildInputs = [ six unidecode ];
checkInputs = [ nose unittest2 ];
meta = with lib; {
description = "Generates unicode slugs";
homepage = "https://pypi.org/project/unicode-slugify/";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}