Skip to content

Commit bb21e53

Browse files
committedJun 1, 2017
ropper: fix tests
1 parent 6482224 commit bb21e53

File tree

2 files changed

+29
-15
lines changed

2 files changed

+29
-15
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{ stdenv
2+
, buildPythonApplication
3+
, fetchPypi
4+
, capstone
5+
, filebytes
6+
, pytest }:
7+
8+
buildPythonApplication rec {
9+
name = "${pname}-${version}";
10+
pname = "ropper";
11+
version = "1.10.10";
12+
13+
src = fetchPypi {
14+
inherit pname version;
15+
sha256 = "1676e07947a19df9d17002307a7555c2647a4224d6f2869949e8fc4bd18f2e87";
16+
};
17+
checkPhase = ''
18+
py.test testcases
19+
'';
20+
buildInputs = [pytest];
21+
propagatedBuildInputs = [ capstone filebytes ];
22+
meta = with stdenv.lib; {
23+
homepage = "https://scoding.de/ropper/";
24+
license = licenses.gpl2;
25+
description = "Show information about files in different file formats";
26+
maintainers = with maintainers; [ bennofs ];
27+
};
28+
}

‎pkgs/top-level/python-packages.nix

+1-15
Original file line numberDiff line numberDiff line change
@@ -22009,21 +22009,7 @@ in {
2200922009
};
2201022010
};
2201122011

22012-
ropper = buildPythonApplication rec {
22013-
name = "ropper-1.10.10";
22014-
src = pkgs.fetchurl {
22015-
url = "mirror://pypi/r/ropper/${name}.tar.gz";
22016-
sha256 = "1676e07947a19df9d17002307a7555c2647a4224d6f2869949e8fc4bd18f2e87";
22017-
};
22018-
propagatedBuildInputs = with self; [ capstone filebytes ];
22019-
meta = with pkgs.stdenv.lib; {
22020-
homepage = "https://scoding.de/ropper/";
22021-
license = licenses.gpl2;
22022-
description = "Show information about files in different file formats";
22023-
maintainers = with maintainers; [ bennofs ];
22024-
};
22025-
};
22026-
22012+
ropper = callPackage ../development/python-modules/ropper { };
2202722013

2202822014
routes = buildPythonPackage rec {
2202922015
name = "routes-1.12.3";

0 commit comments

Comments
 (0)
Please sign in to comment.