pythonPackages.scripttest: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
567da0c23c
commit
da5c908593
27
pkgs/development/python-modules/scripttest/default.nix
Normal file
27
pkgs/development/python-modules/scripttest/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.3";
|
||||
pname = "scripttest";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "951cfc25219b0cd003493a565f2e621fd791beaae9f9a3bdd7024d8626419c38";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
# Tests are not included. See https://github.com/pypa/scripttest/issues/11
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library for testing interactive command-line applications";
|
||||
homepage = https://pypi.python.org/pypi/ScriptTest/;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user