mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
27 lines
580 B
Nix
27 lines
580 B
Nix
{ lib, buildPythonPackage, fetchPypi, pytest, glibcLocales }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "whichcraft";
|
|
version = "0.5.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "fecddd531f237ffc5db8b215409afb18fa30300699064cca4817521b4fc81815";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|