mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
source-code-pro: use fetchFromGitHub to fix hash
Fixes #12372, Close #12376.
This commit is contained in:
parent
0eeda4e36f
commit
f917a7f908
@ -1,13 +1,15 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "source-code-pro-${version}";
|
||||
version = "2.010";
|
||||
version_italic = "1.030";
|
||||
|
||||
src = fetchurl {
|
||||
url="https://github.com/adobe-fonts/source-code-pro/archive/${version}R-ro/${version_italic}R-it.tar.gz";
|
||||
sha256="1y44p2i7hd1klq81xbh796y7n4rzjvn37jrqw0nz31k59v8a1r9y";
|
||||
src = fetchFromGitHub {
|
||||
owner = "adobe-fonts";
|
||||
repo = "source-code-pro";
|
||||
rev = "2.010R-ro/1.030R-it";
|
||||
name = "2.010R-ro-1.030R-it";
|
||||
sha256 = "0f40g23lfcajpd5m9r1z7v8x011dsfs6ba7fihjal6yzaf5hb6mh";
|
||||
};
|
||||
|
||||
phases = "unpackPhase installPhase";
|
||||
|
Loading…
Reference in New Issue
Block a user