File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 stdenv ,
4- fetchCrate ,
4+ fetchFromGitHub ,
55 rustPlatform ,
66} :
77
88rustPlatform . buildRustPackage rec {
99 version = "9.1.3" ;
1010 pname = "oxipng" ;
1111
12- src = fetchCrate {
13- inherit version pname ;
14- hash = "sha256-kzN4YNsFqv/KUxpHao++oqc90Us6VllyFYkpdVUigD0=" ;
12+ # do not use fetchCrate (only repository includes tests)
13+ src = fetchFromGitHub {
14+ owner = "shssoichiro" ;
15+ repo = "oxipng" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-8EOEcIw10hCyYi9SwDLDZ8J3ezLXa30RUY5I9ksfqTs=" ;
1518 } ;
1619
1720 cargoHash = "sha256-4PCLtBJliK3uteL8EVKLBVR2YZW1gwQOiSLQok+rqug=" ;
1821
19- doCheck = ! stdenv . hostPlatform . isAarch64 && ! stdenv . hostPlatform . isDarwin ;
20-
2122 meta = {
2223 homepage = "https://github.com/shssoichiro/oxipng" ;
2324 description = "Multithreaded lossless PNG compression optimizer" ;
You can’t perform that action at this time.
0 commit comments