nixpkgs/pkgs/applications/window-managers/i3/blocks.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

25 lines
603 B
Nix

{ fetchFromGitHub, stdenv, autoreconfHook }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "i3blocks";
version = "unstable-2019-02-07";
src = fetchFromGitHub {
owner = "vivien";
repo = "i3blocks";
rev = "ec050e79ad8489a6f8deb37d4c20ab10729c25c3";
sha256 = "1fx4230lmqa5rpzph68dwnpcjfaaqv5gfkradcr85hd1z8d1qp1b";
};
nativeBuildInputs = [ autoreconfHook ];
meta = {
description = "A flexible scheduler for your i3bar blocks";
homepage = https://github.com/vivien/i3blocks;
license = licenses.gpl3;
platforms = with platforms; freebsd ++ linux;
};
}