mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
35 lines
710 B
Nix
35 lines
710 B
Nix
{ stdenv, python3Packages, fetchFromGitHub, glibcLocales }:
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "topydo";
|
|
version = "0.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bram85";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0b3dz137lpbvpjvfy42ibqvj3yk526x4bpn819fd11lagn77w69r";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
arrow
|
|
icalendar
|
|
glibcLocales
|
|
prompt_toolkit
|
|
urwid
|
|
watchdog
|
|
];
|
|
|
|
checkInputs = [ mock freezegun coverage green pylint ];
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A cli todo application compatible with the todo.txt format";
|
|
homepage = "https://github.com/bram85/topydo";
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|