nixpkgs-suyu/pkgs/development/python-modules/whichcraft/default.nix
R. RyanTM 32a283d1dc python37Packages.whichcraft: 0.6.0 -> 0.6.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-whichcraft/versions
2019-09-28 11:41:21 -07:00

26 lines
568 B
Nix

{ lib, buildPythonPackage, fetchPypi, pytest, glibcLocales }:
buildPythonPackage rec {
pname = "whichcraft";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "11yfkzyplizdgndy34vyd5qlmr1n5mxis3a3svxmx8fnccdvknxc";
};
LC_ALL="en_US.utf-8";
buildInputs = [ glibcLocales ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with lib; {
homepage = https://github.com/pydanny/whichcraft;
description = "Cross-platform cross-python shutil.which functionality";
license = licenses.bsd3;
};
}