git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29819 from Moredread/mechanicalsoup-0.7.0

pythonPackages.MechanicalSoup: 0.4.0 -> 0.7.0

commit69886a41706306e4bf27c9f2ae5c5e13493e5971 authorJörg Thalheim <Mic92@users.noreply.github.com> dateSun 15 Oct 2017, 18:06 (9 years ago) parent58350ad4b8aa5b
2 files changed+24−19
pkgs/development/python-modules/MechanicalSoup/default.nix+23 pkgs/top-level/python-packages.nix+1−19
pkgs/development/python-modules/MechanicalSoup/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ fetchPypi, buildPythonPackage, lib
2+, requests, beautifulsoup4, six }:
3+
4+
5+buildPythonPackage rec {
6+ name = "${pname}-${version}";
7+ pname = "MechanicalSoup";
8+ version = "0.7.0";
9+
10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "0wh93rml446ipx603n5z5i5bpan46pzliq6sw76d0ms9w7w2658d";
13+ };
14+
15+ propagatedBuildInputs = [ requests beautifulsoup4 six ];
16+
17+ meta = with lib; {
18+ description = "A Python library for automating interaction with websites";
19+ homepage = https://github.com/hickford/MechanicalSoup;
20+ license = licenses.mit;
21+ maintainers = [ maintainers.jgillich ];
22+ };
23+}
pkgs/top-level/python-packages.nix+1−19
@@ -11617,25 +11617,7 @@ in {
1161711617 };
1161811618 });
1161911619
11620− MechanicalSoup = buildPythonPackage rec {
11621− name = "MechanicalSoup-${version}";
11622− version = "0.4.0";
11623−
11624− src = pkgs.fetchurl {
11625− url = "mirror://pypi/M/MechanicalSoup/${name}.zip";
11626− sha256 = "02jkwly4gw1jqm55l4wwn0j0ggnysx55inw9j96bif5l49z5cacd";
11627− };
11628−
11629− propagatedBuildInputs = with self; [ requests beautifulsoup4 six ];
11630−
11631− meta = {
11632− description = "A Python library for automating interaction with websites";
11633− homepage = https://github.com/hickford/MechanicalSoup;
11634− license = licenses.mit;
11635− maintainers = with maintainers; [ jgillich ];
11636− };
11637− };
11638−
11620+ MechanicalSoup = callPackage ../development/python-modules/MechanicalSoup/default.nix { };
1163911621
1164011622 meld3 = buildPythonPackage rec {
1164111623 name = "meld3-1.0.0";