mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
python3.pkgs.typecode: init at 21.2.24
This commit is contained in:
parent
f72f9ff624
commit
4455989424
2 changed files with 55 additions and 0 deletions
53
pkgs/development/python-modules/typecode/default.nix
Normal file
53
pkgs/development/python-modules/typecode/default.nix
Normal file
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, setuptools-scm
|
||||
, attrs
|
||||
, pdfminer
|
||||
, commoncode
|
||||
, plugincode
|
||||
, binaryornot
|
||||
, typecode-libmagic
|
||||
, pytestCheckHook
|
||||
, pytest-xdist
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "typecode";
|
||||
version = "21.2.24";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "eaac8aee0b9c6142ad44671252ba00748202d218347d1c0451ce6cd76561e01b";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
pdfminer
|
||||
commoncode
|
||||
plugincode
|
||||
binaryornot
|
||||
typecode-libmagic
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-xdist
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"typecode"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Comprehensive filetype and mimetype detection using libmagic and Pygments";
|
||||
homepage = "https://github.com/nexB/typecode";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
|
@ -8722,6 +8722,8 @@ in {
|
|||
|
||||
txtorcon = callPackage ../development/python-modules/txtorcon { };
|
||||
|
||||
typecode = callPackage ../development/python-modules/typecode { };
|
||||
|
||||
typed-ast = callPackage ../development/python-modules/typed-ast { };
|
||||
|
||||
typeguard = callPackage ../development/python-modules/typeguard { };
|
||||
|
|
Loading…
Reference in a new issue