Skip to content

Commit

Permalink
pythonPackages.text-unidecode: init at 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Feb 22, 2018
1 parent d3a3475 commit 35ee24f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/text-unidecode/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {
pname = "text-unidecode";
version = "1.1";

src = fetchPypi {
inherit pname version;
sha256 = "1l081m1w8ibbx684ca71ibdy68iwqsivy6rf6yqvysdclzldbbyh";
};

checkInputs = [ pytest ];

checkPhase = ''
py.test
'';

meta = with lib; {
description = "The most basic Text::Unidecode port";
homepage = https://github.com/kmike/text-unidecode;
license = licenses.artistic1;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15973,6 +15973,8 @@ in {

stevedore = callPackage ../development/python-modules/stevedore {};

text-unidecode = callPackage ../development/python-modules/text-unidecode { };

Theano = callPackage ../development/python-modules/Theano rec {
cudaSupport = pkgs.config.cudaSupport or false;
cudnnSupport = cudaSupport;
Expand Down

0 comments on commit 35ee24f

Please sign in to comment.