mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 20:43:28 +00:00
Merge pull request #217954 from r-ryantm/auto-update/python310Packages.puremagic
python310Packages.puremagic: 1.14 -> 1.15
This commit is contained in:
commit
8e1fa232fc
@ -1,23 +1,27 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "puremagic";
|
pname = "puremagic";
|
||||||
version = "1.14";
|
version = "1.15";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "cdgriffith";
|
||||||
sha256 = "sha256-PV3ybMfsmuu/hCoJEVovqF3FnqZBT6VoVyxEd115bLw=";
|
repo = pname;
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-WnqDrVPTlNxz3SDt1wLdZmxtj0Vh6gLHDJlYGEHHxsg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# test data not included on pypi
|
nativeCheckInputs = [
|
||||||
doCheck = false;
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"puremagic"
|
"puremagic"
|
||||||
@ -26,6 +30,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Implementation of magic file detection";
|
description = "Implementation of magic file detection";
|
||||||
homepage = "https://github.com/cdgriffith/puremagic";
|
homepage = "https://github.com/cdgriffith/puremagic";
|
||||||
|
changelog = "https://github.com/cdgriffith/puremagic/blob/${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ globin ];
|
maintainers = with maintainers; [ globin ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user