1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 08:34:50 +00:00
nixpkgs/pkgs/development/python-modules/whichcraft/default.nix
R. RyanTM 76e53a96ec python37Packages.whichcraft: 0.5.2 -> 0.6.0
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-07-17 09:40:01 +02:00

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;
};
}