nixpkgs/pkgs/development/python-modules/agate-sql/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

21 lines
586 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, agate, sqlalchemy }:
buildPythonPackage rec {
pname = "agate-sql";
version = "0.5.3";
src = fetchPypi {
inherit pname version;
sha256 = "877b7b85adb5f0325455bba8d50a1623fa32af33680b554feca7c756a15ad9b4";
};
propagatedBuildInputs = [ agate sqlalchemy ];
meta = with stdenv.lib; {
description = "Adds SQL read/write support to agate.";
homepage = https://github.com/wireservice/agate-sql;
license = with licenses; [ mit ];
maintainers = with maintainers; [ vrthra ];
};
}