mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 08:34:50 +00:00
76e53a96ec
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
27 lines
568 B
Nix
27 lines
568 B
Nix
{ 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 ];
|
|
|
|
checkPhase = ''
|
|
py.test
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = https://github.com/pydanny/whichcraft;
|
|
description = "Cross-platform cross-python shutil.which functionality";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|