python3.pkgs.puremagic: init at 1.10
This commit is contained in:
parent
f369a5a03b
commit
6d29a1a1cd
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/puremagic/default.nix
Normal file
29
pkgs/development/python-modules/puremagic/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "puremagic";
|
||||||
|
version = "1.10";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "025ih5q1qa40x88j7ngsdr5sf0dp400kwlfzz60i7v6fh0ms1zkg";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace '"argparse"' ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
# test data not included on pypi
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "puremagic" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Pure python implementation of magic file detection";
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = "https://github.com/cdgriffith/puremagic";
|
||||||
|
maintainers = with maintainers; [ globin ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -5275,6 +5275,8 @@ in {
|
||||||
|
|
||||||
pure-python-adb-homeassistant = callPackage ../development/python-modules/pure-python-adb-homeassistant { };
|
pure-python-adb-homeassistant = callPackage ../development/python-modules/pure-python-adb-homeassistant { };
|
||||||
|
|
||||||
|
puremagic = callPackage ../development/python-modules/puremagic { };
|
||||||
|
|
||||||
purl = callPackage ../development/python-modules/purl { };
|
purl = callPackage ../development/python-modules/purl { };
|
||||||
|
|
||||||
pushbullet = callPackage ../development/python-modules/pushbullet { };
|
pushbullet = callPackage ../development/python-modules/pushbullet { };
|
||||||
|
|
Loading…
Reference in a new issue