tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python.pkgs.mygpoclient: 1.7 -> 1.8
Jörg Thalheim
8 years ago
2efe8b95
409642e5
+32
-29
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
mygpoclient
default.nix
top-level
python-packages.nix
+31
pkgs/development/python-modules/mygpoclient/default.nix
···
1
1
+
{ stdenv, fetchFromGitHub, buildPythonPackage, nose, minimock }:
2
2
+
3
3
+
buildPythonPackage rec {
4
4
+
name = "mygpoclient-${version}";
5
5
+
version = "1.8";
6
6
+
7
7
+
src = fetchFromGitHub {
8
8
+
owner = "gpodder";
9
9
+
repo = "mygpoclient";
10
10
+
rev = version;
11
11
+
sha256 = "0aa28wc55x3rxa7clwfv5v5500ffyaq0vkxaa3v01y1r93dxkdvp";
12
12
+
};
13
13
+
14
14
+
buildInputs = [ nose minimock ];
15
15
+
16
16
+
checkPhase = ''
17
17
+
nosetests
18
18
+
'';
19
19
+
20
20
+
meta = with stdenv.lib; {
21
21
+
description = "A gpodder.net client library";
22
22
+
longDescription = ''
23
23
+
The mygpoclient library allows developers to utilize a Pythonic interface
24
24
+
to the gpodder.net web services.
25
25
+
'';
26
26
+
homepage = https://github.com/gpodder/mygpoclient;
27
27
+
license = with licenses; [ gpl3 ];
28
28
+
platforms = with platforms; linux ++ darwin;
29
29
+
maintainers = with maintainers; [ skeidel ];
30
30
+
};
31
31
+
}
+1
-29
pkgs/top-level/python-packages.nix
···
11338
11338
};
11339
11339
});
11340
11340
11341
11341
-
mygpoclient = buildPythonPackage rec {
11342
11342
-
name = "mygpoclient-${version}";
11343
11343
-
version = "1.7";
11344
11344
-
11345
11345
-
src = pkgs.fetchurl {
11346
11346
-
url = "https://thp.io/2010/mygpoclient/${name}.tar.gz";
11347
11347
-
sha256 = "6a0b7b1fe2b046875456e14eda3e42430e493bf2251a64481cf4fd1a1e21a80e";
11348
11348
-
};
11349
11349
-
11350
11350
-
buildInputs = with self; [ nose minimock ];
11351
11351
-
11352
11352
-
checkPhase = ''
11353
11353
-
nosetests
11354
11354
-
'';
11355
11355
-
11356
11356
-
disabled = isPy3k;
11357
11357
-
11358
11358
-
meta = {
11359
11359
-
description = "A gpodder.net client library";
11360
11360
-
longDescription = ''
11361
11361
-
The mygpoclient library allows developers to utilize a Pythonic interface
11362
11362
-
to the gpodder.net web services.
11363
11363
-
'';
11364
11364
-
homepage = https://thp.io/2010/mygpoclient/;
11365
11365
-
license = with licenses; [ gpl3 ];
11366
11366
-
platforms = with platforms; linux ++ darwin;
11367
11367
-
maintainers = with maintainers; [ skeidel ];
11368
11368
-
};
11369
11369
-
};
11341
11341
+
mygpoclient = callPackage ../development/python-modules/mygpoclient { };
11370
11342
11371
11343
mwclient = buildPythonPackage rec {
11372
11344
version = "0.8.3";