mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
bcal: 1.8 -> 1.9
This commit is contained in:
parent
f64c01fa79
commit
79cd841713
1 changed files with 5 additions and 3 deletions
|
@ -1,20 +1,22 @@
|
|||
{ stdenv, fetchFromGitHub, python3Packages }:
|
||||
{ stdenv, fetchFromGitHub, python3Packages, readline }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bcal-${version}";
|
||||
version = "1.8";
|
||||
version = "1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jarun";
|
||||
repo = "bcal";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jdn46wzwq7yn3x6p1xyqarp52pcr0ghnfhkm7nyxv734g1abw7r";
|
||||
sha256 = "0h6qi5rvzl6c6fsfdpdb3l4jcgip03l18i0b1x08z1y89i56y8mm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ python3Packages.pytest ];
|
||||
|
||||
buildInputs = [ readline ];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
python3 -m pytest test.py
|
||||
|
|
Loading…
Reference in a new issue