mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
ced21f5e1a
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`.
21 lines
586 B
Nix
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 ];
|
|
};
|
|
}
|