mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
xkblayout-state: switch to fetchFromGitHub
This commit is contained in:
parent
a20eefdccd
commit
479626a218
@ -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 New Issue
Block a user