1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-22 09:20:58 +03:00

Python: add pname attributes to libraries

so that we can use the update script.
This commit is contained in:
Frederik Rietdijk 2017-05-27 11:25:35 +02:00
parent dce1c26e5d
commit 959842a9c7
95 changed files with 265 additions and 152 deletions

View file

@ -1,7 +1,8 @@
{ lib, fetchurl, buildPythonPackage }:
buildPythonPackage rec {
name = "python-sql-${version}";
pname = "python-sql";
name = "${pname}-${version}";
version = "0.8";
src = fetchurl {
url = "mirror://pypi/p/python-sql/${name}.tar.gz";