python310Packages.python-magic: normalise attr
This commit is contained in:
parent
3091ea820f
commit
115475ff5b
|
@ -31,7 +31,7 @@
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, requests
|
, requests
|
||||||
, keyring
|
, keyring
|
||||||
, python_magic
|
, python-magic
|
||||||
|
|
||||||
# commands that lutris needs
|
# commands that lutris needs
|
||||||
, xrandr
|
, xrandr
|
||||||
|
@ -104,7 +104,7 @@ buildPythonApplication rec {
|
||||||
libnotify
|
libnotify
|
||||||
pango
|
pango
|
||||||
webkitgtk
|
webkitgtk
|
||||||
python_magic
|
python-magic
|
||||||
] ++ gstDeps;
|
] ++ gstDeps;
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -117,7 +117,7 @@ buildPythonApplication rec {
|
||||||
pillow
|
pillow
|
||||||
dbus-python
|
dbus-python
|
||||||
keyring
|
keyring
|
||||||
python_magic
|
python-magic
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -18,7 +18,7 @@ let
|
||||||
scriptPython = python.withPackages (ps: with ps; [
|
scriptPython = python.withPackages (ps: with ps; [
|
||||||
aiohttp
|
aiohttp
|
||||||
requests
|
requests
|
||||||
python_magic
|
python-magic
|
||||||
]);
|
]);
|
||||||
|
|
||||||
version = "0.3.0";
|
version = "0.3.0";
|
||||||
|
|
|
@ -40,7 +40,7 @@ with python3.pkgs; buildPythonApplication rec {
|
||||||
file
|
file
|
||||||
gpgme
|
gpgme
|
||||||
notmuch2
|
notmuch2
|
||||||
python_magic
|
python-magic
|
||||||
service-identity
|
service-identity
|
||||||
twisted
|
twisted
|
||||||
urwid
|
urwid
|
||||||
|
|
|
@ -106,7 +106,7 @@ py.pkgs.pythonPackages.buildPythonApplication rec {
|
||||||
python-dotenv
|
python-dotenv
|
||||||
python-gnupg
|
python-gnupg
|
||||||
python-Levenshtein
|
python-Levenshtein
|
||||||
python_magic
|
python-magic
|
||||||
pytz
|
pytz
|
||||||
pyyaml
|
pyyaml
|
||||||
redis
|
redis
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
, nose
|
, nose
|
||||||
, nose-timer
|
, nose-timer
|
||||||
, mock
|
, mock
|
||||||
, python_magic
|
, python-magic
|
||||||
, codecov
|
, codecov
|
||||||
, coverage
|
, coverage
|
||||||
, qt5
|
, qt5
|
||||||
|
@ -70,7 +70,7 @@ buildPythonPackage rec {
|
||||||
nose-timer
|
nose-timer
|
||||||
pyperclip
|
pyperclip
|
||||||
pyqt5
|
pyqt5
|
||||||
python_magic
|
python-magic
|
||||||
];
|
];
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
, oauth2client
|
, oauth2client
|
||||||
, ply
|
, ply
|
||||||
, pytest
|
, pytest
|
||||||
, python_magic
|
, python-magic
|
||||||
, requests
|
, requests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
||||||
lxml
|
lxml
|
||||||
oauth2client
|
oauth2client
|
||||||
ply
|
ply
|
||||||
python_magic
|
python-magic
|
||||||
requests
|
requests
|
||||||
# pytest really is a runtime dependency
|
# pytest really is a runtime dependency
|
||||||
# https://github.com/beancount/beancount/blob/v2/setup.py#L81-L82
|
# https://github.com/beancount/beancount/blob/v2/setup.py#L81-L82
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, django
|
, django
|
||||||
, pillow
|
, pillow
|
||||||
, python_magic
|
, python-magic
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "6569d5c3e13c69ab8912ba5100084aa5abcdcffb8d1f5abc085b226e7bbd65b3";
|
sha256 = "6569d5c3e13c69ab8912ba5100084aa5abcdcffb8d1f5abc085b226e7bbd65b3";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ pillow python_magic ];
|
propagatedBuildInputs = [ pillow python-magic ];
|
||||||
|
|
||||||
checkInputs = [ django ];
|
checkInputs = [ django ];
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, karton-core
|
, karton-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python_magic
|
, python-magic
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
chardet
|
chardet
|
||||||
karton-core
|
karton-core
|
||||||
python_magic
|
python-magic
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
, decorator
|
, decorator
|
||||||
, http-ece
|
, http-ece
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
, python_magic
|
, python-magic
|
||||||
, pytz
|
, pytz
|
||||||
, requests
|
, requests
|
||||||
, six
|
, six
|
||||||
|
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||||
decorator
|
decorator
|
||||||
http-ece
|
http-ece
|
||||||
python-dateutil
|
python-dateutil
|
||||||
python_magic
|
python-magic
|
||||||
pytz
|
pytz
|
||||||
requests
|
requests
|
||||||
six
|
six
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, decorator
|
, decorator
|
||||||
, http-parser
|
, http-parser
|
||||||
, python_magic
|
, python-magic
|
||||||
, urllib3
|
, urllib3
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
|
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
decorator
|
decorator
|
||||||
http-parser
|
http-parser
|
||||||
python_magic
|
python-magic
|
||||||
urllib3
|
urllib3
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, requests
|
, requests
|
||||||
, websocket-client
|
, websocket-client
|
||||||
, python_magic
|
, python-magic
|
||||||
, cryptography
|
, cryptography
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "917883e1af4a0c979ce46076b391e0243eb8fe0a81c086544bcfa10f53e5ae64";
|
sha256 = "917883e1af4a0c979ce46076b391e0243eb8fe0a81c086544bcfa10f53e5ae64";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ cryptography requests websocket-client python_magic ];
|
propagatedBuildInputs = [ cryptography requests websocket-client python-magic ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export PUSHBULLET_API_KEY=""
|
export PUSHBULLET_API_KEY=""
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
, httpretty
|
, httpretty
|
||||||
, ijson
|
, ijson
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, python_magic
|
, python-magic
|
||||||
, pytz
|
, pytz
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, requests-oauthlib
|
, requests-oauthlib
|
||||||
|
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
brotli
|
brotli
|
||||||
ijson
|
ijson
|
||||||
python_magic
|
python-magic
|
||||||
pytz
|
pytz
|
||||||
requests-oauthlib
|
requests-oauthlib
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage, genshi, lxml, python_magic }:
|
{ lib, fetchPypi, buildPythonPackage, genshi, lxml, python-magic }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "relatorio";
|
pname = "relatorio";
|
||||||
|
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
genshi
|
genshi
|
||||||
lxml
|
lxml
|
||||||
python_magic
|
python-magic
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -26,7 +26,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||||
prometheus-client
|
prometheus-client
|
||||||
pycryptodome
|
pycryptodome
|
||||||
python-olm
|
python-olm
|
||||||
python_magic
|
python-magic
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
unpaddedbase64
|
unpaddedbase64
|
||||||
yarl
|
yarl
|
||||||
|
|
|
@ -22,7 +22,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||||
prometheus-client
|
prometheus-client
|
||||||
pycryptodome
|
pycryptodome
|
||||||
python-olm
|
python-olm
|
||||||
python_magic
|
python-magic
|
||||||
qrcode
|
qrcode
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
unpaddedbase64
|
unpaddedbase64
|
||||||
|
|
|
@ -44,7 +44,7 @@ in python.pkgs.buildPythonPackage rec {
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
CommonMark
|
CommonMark
|
||||||
ruamel-yaml
|
ruamel-yaml
|
||||||
python_magic
|
python-magic
|
||||||
tulir-telethon
|
tulir-telethon
|
||||||
telethon-session-sqlalchemy
|
telethon-session-sqlalchemy
|
||||||
pillow
|
pillow
|
||||||
|
|
|
@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
pkgs.git
|
pkgs.git
|
||||||
appdirs
|
appdirs
|
||||||
click
|
click
|
||||||
python_magic
|
python-magic
|
||||||
requests
|
requests
|
||||||
termcolor
|
termcolor
|
||||||
toml
|
toml
|
||||||
|
|
|
@ -51,7 +51,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
]
|
]
|
||||||
++ (with python3Packages; [
|
++ (with python3Packages; [
|
||||||
argcomplete debian defusedxml jsondiff jsbeautifier libarchive-c
|
argcomplete debian defusedxml jsondiff jsbeautifier libarchive-c
|
||||||
python_magic progressbar33 pypdf2 rpm tlsh
|
python-magic progressbar33 pypdf2 rpm tlsh
|
||||||
])
|
])
|
||||||
++ lib.optionals stdenv.isLinux [ python3Packages.pyxattr acl cdrkit dtc ]
|
++ lib.optionals stdenv.isLinux [ python3Packages.pyxattr acl cdrkit dtc ]
|
||||||
++ lib.optionals enableBloat ([
|
++ lib.optionals enableBloat ([
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildPythonApplication, fetchFromGitHub, python_magic, python-dateutil }:
|
{ lib, buildPythonApplication, fetchFromGitHub, python-magic, python-dateutil }:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "s3cmd";
|
pname = "s3cmd";
|
||||||
|
@ -11,7 +11,7 @@ buildPythonApplication rec {
|
||||||
sha256 = "0w4abif05mp52qybh4hjg6jbbj2caljq5xdhfiha3g0s5zsq46ri";
|
sha256 = "0w4abif05mp52qybh4hjg6jbbj2caljq5xdhfiha3g0s5zsq46ri";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ python_magic python-dateutil ];
|
propagatedBuildInputs = [ python-magic python-dateutil ];
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
dontUseSetuptoolsCheck = true;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
fnvhash
|
fnvhash
|
||||||
python_magic
|
python-magic
|
||||||
] ++ [
|
] ++ [
|
||||||
wireshark-cli
|
wireshark-cli
|
||||||
];
|
];
|
||||||
|
|
|
@ -23,7 +23,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
defusedxml
|
defusedxml
|
||||||
pyaml
|
pyaml
|
||||||
pykeepass
|
pykeepass
|
||||||
python_magic # similar API to "file-magic", but already in nixpkgs.
|
python-magic # similar API to "file-magic", but already in nixpkgs.
|
||||||
secretstorage
|
secretstorage
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -108,6 +108,7 @@ mapAliases ({
|
||||||
pytestrunner = pytest-runner; # added 2021-01-04
|
pytestrunner = pytest-runner; # added 2021-01-04
|
||||||
python-igraph = igraph; # added 2021-11-11
|
python-igraph = igraph; # added 2021-11-11
|
||||||
python-lz4 = lz4; # added 2018-06-01
|
python-lz4 = lz4; # added 2018-06-01
|
||||||
|
python-magic = python-magic; # added 2022-05-07
|
||||||
python_mimeparse = python-mimeparse; # added 2021-10-31
|
python_mimeparse = python-mimeparse; # added 2021-10-31
|
||||||
python-subunit = subunit; # added 2021-09-10
|
python-subunit = subunit; # added 2021-09-10
|
||||||
pytest_xdist = pytest-xdist; # added 2021-01-04
|
pytest_xdist = pytest-xdist; # added 2021-01-04
|
||||||
|
|
|
@ -8360,7 +8360,7 @@ in {
|
||||||
inherit (pkgs) lzo;
|
inherit (pkgs) lzo;
|
||||||
};
|
};
|
||||||
|
|
||||||
python_magic = callPackage ../development/python-modules/python-magic { };
|
python-magic = callPackage ../development/python-modules/python-magic { };
|
||||||
|
|
||||||
python-manilaclient = callPackage ../development/python-modules/python-manilaclient { };
|
python-manilaclient = callPackage ../development/python-modules/python-manilaclient { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue