1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/development/python-modules/whichcraft/default.nix

27 lines
568 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytest, glibcLocales }:
buildPythonPackage rec {
pname = "whichcraft";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "1614vs0iwm9abina70vgvxaabi8xbz83yxgqfqi1syrzrhaalk6m";
};
LC_ALL="en_US.utf-8";
buildInputs = [ glibcLocales ];
checkInputs = [ pytest ];
2018-04-06 12:36:48 +01:00
checkPhase = ''
py.test
'';
meta = with lib; {
homepage = https://github.com/pydanny/whichcraft;
description = "Cross-platform cross-python shutil.which functionality";
license = licenses.bsd3;
};
}