Skip to content

Commit

Permalink
elementary-{icon,gtk}-theme: fix usage of pname per convention
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Jan 28, 2019
1 parent 7ae446f commit 663293e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
11 changes: 5 additions & 6 deletions pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
{ stdenv, fetchFromGitHub, pantheon, meson, ninja }:

stdenv.mkDerivation rec {
pname = "stylesheet";
pname = "elementary-gtk-theme";
version = "5.2.1";

name = "elementary-gtk-theme-${version}";
repoName = "stylesheet";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
repo = repoName;
rev = version;
sha256 = "03l8m87f7z25svxk0hhcqnn4qnnqvasr5qwzq3s87lx25gwjml29";
};

passthru = {
updateScript = pantheon.updateScript {
repoName = pname;
attrPath = "elementary-gtk-theme";
repoName = repoName;
attrPath = pname;
};
};

Expand Down
10 changes: 5 additions & 5 deletions pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{ stdenv, fetchFromGitHub, pantheon, meson, python3,ninja, hicolor-icon-theme, gtk3 }:

stdenv.mkDerivation rec {
pname = "icons";
pname = "elementary-icon-theme";
version = "5.0.2";
repoName = "icons";

name = "elementary-icon-theme-${version}";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
repo = repoName;
rev = version;
sha256 = "12j582f0kggv2lp935r75xg7q26zpl0f05s11xcs4qxazhj1ly2r";
};

passthru = {
updateScript = pantheon.updateScript {
repoName = pname;
attrPath = "elementary-icon-theme";
repoName = repoName;
attrPath = pname;
};
};

Expand Down

0 comments on commit 663293e

Please sign in to comment.