nixpkgs/pkgs/development/python-modules/ipython_genutils/default.nix
Weijia Wang 218c4c526e
Merge pull request #212002 from mothsART/feature/replace_http_by_https
treewide: replace http by https when https is a permanent redirection
2023-01-22 03:26:02 +01:00

30 lines
603 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
, glibcLocales
}:
buildPythonPackage rec {
pname = "ipython_genutils";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8";
};
nativeCheckInputs = [ nose glibcLocales ];
checkPhase = ''
LC_ALL="en_US.UTF-8" nosetests -v ipython_genutils/tests
'';
meta = {
description = "Vestigial utilities from IPython";
homepage = "https://ipython.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}