pythonPackages.filebytes: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 14:56:20 -04:00 committed by Frederik Rietdijk
parent 6f4332daa4
commit 40cfaacf0d
2 changed files with 23 additions and 14 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "filebytes";
version = "0.9.12";
src = fetchPypi {
inherit pname version;
sha256 = "6cd1c4ca823f6541c963a317e55382609789802dedad08209f4d038369e3f0ac";
};
meta = with stdenv.lib; {
homepage = "https://scoding.de/filebytes-introduction";
license = licenses.gpl2;
description = "Scripts to parse ELF, PE, Mach-O and OAT (Android Runtime)";
maintainers = with maintainers; [ bennofs ];
};
}

View File

@ -2384,20 +2384,7 @@ in {
pycodestyle = callPackage ../development/python-modules/pycodestyle { };
filebytes = buildPythonPackage rec {
name = "filebytes-0.9.12";
src = pkgs.fetchurl {
url = "mirror://pypi/f/filebytes/${name}.tar.gz";
sha256 = "6cd1c4ca823f6541c963a317e55382609789802dedad08209f4d038369e3f0ac";
};
propagatedBuildInputs = [ ];
meta = with pkgs.stdenv.lib; {
homepage = "https://scoding.de/filebytes-introduction";
license = licenses.gpl2;
description = "Scripts to parse ELF, PE, Mach-O and OAT (Android Runtime)";
maintainers = with maintainers; [ bennofs ];
};
};
filebytes = callPackage ../development/python-modules/filebytes { };
filelock = callPackage ../development/python-modules/filelock {};