nixpkgs/pkgs/applications/misc/tasksh/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
603 B
Nix

{ stdenv, fetchurl, cmake, readline }:
stdenv.mkDerivation rec {
pname = "tasksh";
version = "1.2.0";
enableParallelBuilding = true;
src = fetchurl {
url = "https://taskwarrior.org/download/${pname}-${version}.tar.gz";
sha256 = "1z8zw8lld62fjafjvy248dncjk0i4fwygw0ahzjdvyyppx4zjhkf";
};
buildInputs = [ readline ];
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
description = "REPL for taskwarrior";
homepage = http://tasktools.org;
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.linux;
};
}