xkblayout-state: switch to fetchFromGitHub
This commit is contained in:
parent
a20eefdccd
commit
479626a218
1 changed files with 6 additions and 4 deletions
|
@ -1,12 +1,14 @@
|
|||
{ lib, stdenv, fetchurl, qt4 }:
|
||||
{ lib, stdenv, fetchFromGitHub, qt4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xkblayout-state";
|
||||
version = "1b";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/nonpop/${pname}/archive/v${version}.tar.gz";
|
||||
sha256 = "1m1nnplrdb2mclhj0881wf78ckvdnyk24g4k4p5s5gpd96cxxwnx";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nonpop";
|
||||
repo = "xkblayout-state";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-diorqwDEBdzcBteKvhRisQaY3bx5seaOaWSaPwBkWDo=";
|
||||
};
|
||||
|
||||
buildInputs = [ qt4 ];
|
||||
|
|
Loading…
Reference in a new issue