nixpkgs/pkgs/development/python-modules/sqlmap/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

24 lines
502 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "sqlmap";
version = "1.2.6";
src = fetchPypi {
inherit pname version;
sha256 = "a3649f9b5219b7336b82d3a1bf6e91c8d649171b96747b927a92ac075947d619";
};
# No tests in archive
doCheck = false;
meta = with lib; {
homepage = "http://sqlmap.org";
license = licenses.gpl2;
description = "Automatic SQL injection and database takeover tool";
maintainers = with maintainers; [ bennofs ];
};
}