mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 18:37:02 +00:00
c4605f2387
Semi-automatic update. These checks were done: - built on NixOS - ran `/nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0/bin/.doit-wrapped --help` got 0 exit code - ran `/nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0/bin/.doit-wrapped help` got 0 exit code - ran `/nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0/bin/.doit-wrapped --version` and found version 0.31.0 - ran `/nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0/bin/doit --help` got 0 exit code - ran `/nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0/bin/doit help` got 0 exit code - ran `/nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0/bin/doit --version` and found version 0.31.0 - found 0.31.0 with grep in /nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0 - found 0.31.0 in filename of file in /nix/store/y6r8fjncv9axs205hmi0vjv8rb2s4i6v-doit-0.31.0
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ stdenv, fetchurl, python3Packages }:
|
|
|
|
let
|
|
|
|
name = "doit";
|
|
version = "0.31.0";
|
|
|
|
in python3Packages.buildPythonApplication {
|
|
name = "${name}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/d/${name}/${name}-${version}.tar.gz";
|
|
sha256 = "0v1yr04bfqnz3sp261np3zhf0y1b3a1daxc83iq308lscf39fdgx";
|
|
};
|
|
|
|
buildInputs = with python3Packages; [ mock pytest ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [ cloudpickle pyinotify ];
|
|
|
|
# Tests fail due to mysterious gdbm.open() resource temporarily
|
|
# unavailable errors.
|
|
doCheck = false;
|
|
checkPhase = "py.test";
|
|
|
|
meta = {
|
|
homepage = http://pydoit.org/;
|
|
description = "A task management & automation tool";
|
|
license = stdenv.lib.licenses.mit;
|
|
longDescription = ''
|
|
doit is a modern open-source build-tool written in python
|
|
designed to be simple to use and flexible to deal with complex
|
|
work-flows. It is specially suitable for building and managing
|
|
custom work-flows where there is no out-of-the-box solution
|
|
available.
|
|
'';
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|