git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #14110 from lancelotsix/clean_sqlalchemy_legacy

Clean sqlalchemy legacy

commit97a29ff8173e06f85e36f87c033726fa87e1db70 authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateThu 31 Mar 2016, 10:52 (11 years ago) parente5334ceac6851b
2 files changed+67−28
pkgs/applications/virtualization/virtinst/default.nix+1−1 pkgs/top-level/python-packages.nix+66−27
pkgs/applications/virtualization/virtinst/default.nix+1−1
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 };
1414
1515 pythonPath = with pythonPackages;
16− [ setuptools eventlet greenlet gflags netaddr sqlalchemy7 carrot routes
16+ [ setuptools eventlet greenlet gflags netaddr carrot routes
1717 PasteDeploy m2crypto ipy twisted sqlalchemy_migrate
1818 distutils_extra simplejson readline glanceclient cheetah lockfile httplib2
1919 # !!! should libvirt be a build-time dependency? Note that
pkgs/top-level/python-packages.nix+66−27
@@ -1667,27 +1667,32 @@ in modules // {
16671667 });
16681668
16691669 beaker = buildPythonPackage rec {
1670− name = "Beaker-1.7.0";
1671−
1672− disabled = isPy3k;
1670+ name = "Beaker-${version}";
1671+ version = "1.8.0";
16731672
1674− src = pkgs.fetchurl {
1675− url = "http://pypi.python.org/packages/source/B/Beaker/${name}.tar.gz";
1676− sha256 = "0vv4y22b3ly1212n9nnhgvc8yz32adlfl7w7s1wj0i5srpjcgvlq";
1673+ # The pypy release do not contains the tests
1674+ src = pkgs.fetchFromGitHub {
1675+ owner = "bbangert";
1676+ repo = "beaker";
1677+ rev = "${version}";
1678+ sha256 = "17yfr7a307n8rdl09was4j60xqk2s0hk0hywdkigrpj4qnw0is7g";
16771679 };
16781680
16791681 buildInputs =
1680− [ self.sqlalchemy7
1681− self.pycryptopp
1682− self.nose
1682+ [ self.nose
16831683 self.mock
16841684 self.webtest
16851685 ];
1686−
1687− # http://hydra.nixos.org/build/4511591/log/raw
1688− doCheck = false;
1686+ propagatedBuildInputs = [
1687+ self.sqlalchemy
1688+ self.pycrypto
1689+ ] ++ optionals (isPy26 || isPy27) [
1690+ self.funcsigs
1691+ self.pycryptopp
1692+ ];
16891693
16901694 meta = {
1695+ description = "A Session and Caching library with WSGI Middleware";
16911696 maintainers = with maintainers; [ garbas iElectric ];
16921697 platforms = platforms.all;
16931698 };
@@ -3317,23 +3322,19 @@ in modules // {
33173322
33183323
33193324 coilmq = buildPythonPackage (rec {
3320− name = "coilmq-0.6.1";
3325+ name = "CoilMQ-${version}";
3326+ version = "1.0.0";
33213327
33223328 src = pkgs.fetchurl {
3323− url = "http://pypi.python.org/packages/source/C/CoilMQ/CoilMQ-0.6.1.tar.gz";
3324− sha256 = "9755733bdae33a9d87630232d166a7da2382f68c2cffb3bb81503806e8d310cb";
3329+ url = "http://pypi.python.org/packages/source/C/CoilMQ/${name}.tar.gz";
3330+ sha256 = "0wwa6fsqw1mxsryvgp0yrdjil8axyj0kslzi7lr45cnhgp5ab375";
33253331 };
33263332
3327− propagatedBuildInputs = with self; [ self.stompclient ];
3333+ propagatedBuildInputs = with self; [ stompclient pythondaemon redis pid];
33283334
3329− preConfigure = ''
3330− sed -i '/distribute/d' setup.py
3331− '';
3335+ buildInputs = with self; [ pytest six click coverage sqlalchemy ];
33323336
3333− buildInputs = with self; [ self.coverage self.sqlalchemy7 ];
3334−
3335− # ValueError: Could not parse auth file:
3336− # /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini
3337+ # The teste data is not included in the distribution
33373338 doCheck = false;
33383339
33393340 meta = {
@@ -20105,6 +20106,22 @@ in modules // {
2010520106 };
2010620107 };
2010720108
20109+ pid = buildPythonPackage rec {
20110+ name = "pid-${version}";
20111+ version = "2.0.1";
20112+
20113+ src = pkgs.fetchurl {
20114+ url = "https://pypi.python.org/packages/source/p/pid/${name}.tar.gz";
20115+ sha256 = "0cylj8p25nwkdfgy4pzai21wyzmrxdqlwwbzqag9gb5qcjfdwk05";
20116+ };
20117+
20118+ meta = {
20119+ description = "Pidfile featuring stale detection and file-locking";
20120+ homepage = https://github.com/trbs/pid/;
20121+ license = licenses.asl20;
20122+ };
20123+ };
20124+
2010820125 pydns = buildPythonPackage rec {
2010920126 name = "pydns-2.3.6";
2011020127 disabled = isPy3k;
@@ -20118,6 +20135,28 @@ in modules // {
2011820135
2011920136 };
2012020137
20138+ pythondaemon = buildPythonPackage rec {
20139+ name = "python-daemon-${version}";
20140+ version = "2.1.1";
20141+
20142+ src = pkgs.fetchurl {
20143+ url = " https://pypi.python.org/packages/source/p/python-daemon/${name}.tar.gz";
20144+ sha256 = "17v80qb98p1gv4j9mq6wb55cv7hc4j1hzw5y2f4s5hrpxs3w3a2q";
20145+ };
20146+
20147+ # A test fail within chroot builds.
20148+ doCheck = false;
20149+
20150+ buildInputs = with self; [ mock testscenarios ];
20151+ propagatedBuildInputs = with self; [ docutils lockfile ];
20152+
20153+ meta = {
20154+ description = "Library to implement a well-behaved Unix daemon process";
20155+ homepage = https://alioth.debian.org/projects/python-daemon/;
20156+ licenses = [ licenses.gpl3Plus licenses.asl20 ];
20157+ };
20158+ };
20159+
2012120160 sympy = buildPythonPackage rec {
2012220161 name = "sympy-0.7.6.1";
2012320162 disabled = isPy34 || isPy35 || isPyPy; # some tests fail
@@ -22474,12 +22513,12 @@ in modules // {
2247422513
2247522514
2247622515 webtest = buildPythonPackage rec {
22477− version = "2.0.15";
22516+ version = "2.0.20";
2247822517 name = "webtest-${version}";
2247922518
2248022519 src = pkgs.fetchurl {
22481− url = "http://pypi.python.org/packages/source/W/WebTest/WebTest-${version}.zip";
22482− sha256 = "c320adc2cd862ea71ca9e2012e6157eb12f5f8d1632d1541f2eabf984aaa3ecc";
22520+ url = "http://pypi.python.org/packages/source/W/WebTest/WebTest-${version}.tar.gz";
22521+ sha256 = "0bv0qhdjakdsdgj4sk21gnpp8xp8bga4x03p6gjb83ihrsb7n4xv";
2248322522 };
2248422523
2248522524 preConfigure = ''
@@ -25385,7 +25424,7 @@ in modules // {
2538525424 thrift
2538625425 beautifulsoup4
2538725426 markdown2
25388− sqlalchemy7
25427+ sqlalchemy
2538925428 html2text
2539025429 evernote
2539125430 ];