Merge pull request #30833 from nyarly/jira_cli

(jira-cli) init at 2.2
This commit is contained in:
Frederik Rietdijk
2018-05-17 08:53:03 +02:00
committed by GitHub
5 changed files with 81 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, six, mock }:
buildPythonPackage rec {
pname = "hiro";
version = "0.1.4";
src = fetchPypi {
inherit pname version;
sha256 = "1340lhg7k522bqpz5iakl51qb47mjw804mfwwzm77i7qcm5cwiz8";
};
propagatedBuildInputs = [ six mock ];
meta = with stdenv.lib; {
description = "Time manipulation utilities for Python";
homepage = http://hiro.readthedocs.io/en/latest/;
license = licenses.mit;
maintainers = with maintainers; [ nyarly ];
};
}

View File

@@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, six
, pytest, unittest2, mock, keyring
}:
buildPythonPackage rec {
pname = "keyrings.alt";
version = "2.3";
src = fetchPypi {
inherit pname version;
sha256 = "5cb9b6cdb5ce5e8216533e342d3e1b418ddd210466834061966d7dc1a4736f2d";
};
propagatedBuildInputs = [ six ];
# Fails with "ImportError: cannot import name mock"
doCheck = false;
checkInputs = [ pytest unittest2 mock keyring ];
meta = with stdenv.lib; {
license = licenses.mit;
description = "Alternate keyring implementations";
homepage = https://github.com/jaraco/keyrings.alt;
maintainers = with maintainers; [ nyarly ];
};
}